public void Register(ICommandLineConventionContext context) { context.AddCommand <MyCommand>("my"); }
/// <summary> /// Registers the specified context. /// </summary> /// <param name="context">The context.</param> public void Register(ICommandLineConventionContext context) => context.AddCommand <MartenCommand>();
public void Register(ICommandLineConventionContext context) { context.OnRunAsync <Default>(); context.AddCommand <Sync>(); }
public void Register(ICommandLineConventionContext context) { context.OnRun <Default>(); }
public void Register(ICommandLineConventionContext context) { var command = context.AddCommand <DiagnosticsCommand>(); command.Command <ConventionCommand>("conventions", app => { }); }
//#endif //#if UseCommandLine public void Register(ICommandLineConventionContext context) { }