Add pipeline readiness command and report

This commit is contained in:
2026-11-28 04:20:29 +00:00
parent e64325b64e
commit 97642c491f
5 changed files with 322 additions and 2 deletions

View File

@@ -42,8 +42,9 @@ 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)),
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) })),
commandkit.Alias("run", "pipeline run"),
commandkit.Alias("preflight", "pipeline preflight"),
ckconfig.Command(ckconfig.Suite[struct{}, *nativeLoaders]{
NewState: newState,
CheckInput: func(_ string, selection ckconfig.Selection, _ struct{}) error {