示例#1
0
 public void Register(ICommandLineConventionContext context)
 {
     context.AddCommand <MyCommand>("my");
 }
示例#2
0
 /// <summary>
 /// Registers the specified context.
 /// </summary>
 /// <param name="context">The context.</param>
 public void Register(ICommandLineConventionContext context) => context.AddCommand <MartenCommand>();
示例#3
0
 public void Register(ICommandLineConventionContext context)
 {
     context.OnRunAsync <Default>();
     context.AddCommand <Sync>();
 }
示例#4
0
 public void Register(ICommandLineConventionContext context)
 {
     context.OnRun <Default>();
 }
        public void Register(ICommandLineConventionContext context)
        {
            var command = context.AddCommand <DiagnosticsCommand>();

            command.Command <ConventionCommand>("conventions", app => { });
        }
示例#6
0
 //#endif
 //#if UseCommandLine
 public void Register(ICommandLineConventionContext context)
 {
 }