public void Configure(CliApplicationBuilder app) { app.AddCommandsFromThisAssembly() .AddCommand <PipelineCommand>() .AddCommand <ServicesCommand>() .AddDirective <PreviewDirective>(); }
public void Configure(CliApplicationBuilder app) { app.AddCommandsFromThisAssembly() .AddCommand <PipelineCommand>() .AddCommand <ServicesCommand>() .AddDirectivesFromThisAssembly() .AddDirective <PreviewDirective>() .UseMiddleware <ExecutionTimingMiddleware>() .UseInteractiveMode(options: (cfg) => cfg.IsAdvancedInputAvailable = false); }
public void Configure(CliApplicationBuilder app) { ValidatorOptions.Global.LanguageManager.Enabled = false; app.AddCommandsFromThisAssembly() .AddDirective <PreviewDirective>() .AddCommand <PipelineCommand>() .AddCommand <ServicesCommand>() .UseMiddleware <FluentValidationMiddleware>(); }
public void Configure(CliApplicationBuilder app) { app.AddCommandsFromThisAssembly() .AddDirective <DebugDirective>() .UseInteractiveMode(useAdvancedInput: false); }