Beispiel #1
0
        public static void Main(string[] args)
        {
            Console.WriteLine ("Amplifier User Manager.");
            Console.WriteLine ("usage: amp-user add -fn:Louis -ln:Salin -email:[email protected] -p:pass123");

            var parser = new ArgsParser();
            var arguments = parser.Parse(args);

            if (arguments == null)
                return;

            var app = new App();
            app.Run(arguments);

            Console.WriteLine ("Done!");
        }
Beispiel #2
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Amplifier User Manager.");
            Console.WriteLine("usage: amp-user add -fn:Louis -ln:Salin -email:[email protected] -p:pass123");

            var parser    = new ArgsParser();
            var arguments = parser.Parse(args);

            if (arguments == null)
            {
                return;
            }

            var app = new App();

            app.Run(arguments);

            Console.WriteLine("Done!");
        }
 protected override void Context()
 {
     output = new OutputStub();
     sut = new ArgsParser(output);
 }