Capture pipeline readiness diagnostics and failures
This commit is contained in:
@@ -42,7 +42,7 @@ func NewApplication(version string, options Options) (*commandkit.App, error) {
|
||||
definitions = ckprompt.WithNamespaces(definitions, promptkit.Namespaces{})
|
||||
declarations := []commandkit.Declaration{
|
||||
commandkit.Completion("notarius"),
|
||||
pipelineCommands(newState, func() (pipeline.ModuleCatalog, error) { return effectiveCatalog(options) }, pipelineRunCommand(version, newState, func() (pipeline.Registries, error) { return effectiveRegistries(options) }, options), pipelinePreflightCommand(newState, func() (pipeline.Registries, error) { return effectiveRegistries(options) })),
|
||||
pipelineCommands(newState, func() (pipeline.ModuleCatalog, error) { return effectiveCatalog(options) }, pipelineRunCommand(version, newState, func() (pipeline.Registries, error) { return effectiveRegistries(options) }, options), pipelinePreflightCommand(version, newState, func() (pipeline.Registries, error) { return effectiveRegistries(options) }, options)),
|
||||
commandkit.Alias("run", "pipeline run"),
|
||||
commandkit.Alias("preflight", "pipeline preflight"),
|
||||
ckconfig.Command(ckconfig.Suite[struct{}, *nativeLoaders]{
|
||||
|
||||
Reference in New Issue
Block a user