CommandLineApplicationTests.cs (35)
20app.Command("test", c =>
42app.Command("test", c =>
63app.Command("test", c =>
83var testCommand = app.Command("test", c =>
104app.Command("test", c =>
123app.Command("test", c =>
143app.Command("test", c =>
177app.Command("test", c =>
197app.Command("test", c =>
216app.Command("test", c =>
237app.Command("test", c =>
256app.Command("test", c =>
271var testCmd = app.Command("test", c =>
428app.Command("test", c =>
443var testCmd = app.Command("test", c =>
638app.Command("test", c =>
653var testCmd = app.Command("test", c =>
671app.Command("test", c =>
686var testCmd = app.Command("test", c =>
705app.Command("k", c =>
707subCmd = c.Command("run", _ => { });
722var testCmd = app.Command("k", c =>
724subCmd = c.Command("run", _ => { });
744var testCmd = app.Command("k", c =>
746subCmd = c.Command("run", _ => { }, throwOnUnexpectedArg: false);
765app.Command("run", c => c.OnExecute(() => { commandRan = true; return 0; }));
780app.Command("run", c => c.OnExecute(() => { commandRan = true; return 0; }));
799var subcmd = app.Command("subcmd", c =>
824app.Command("subcmd", c =>
838app.Command("subcmd", c =>
862var subcmd1 = app.Command("lvl1", s1 =>
865subcmd2 = s1.Command("lvl2", s2 =>
1021app.Command("star", c =>
1186app.Command("test", c =>
1213app.Command("test", c =>