Verify shared glossary selection across CLI workflows

This commit is contained in:
2026-11-29 18:14:11 +00:00
parent 994cba3ba2
commit 04546acee0
8 changed files with 92 additions and 24 deletions

View File

@@ -101,7 +101,7 @@ func buildApplication(extra ...commandkit.Declaration) (*commandkit.App, error)
}
func buildApplicationWithClient(client *http.Client, extra ...commandkit.Declaration) (*commandkit.App, error) {
selector := commandkit.RepeatFlag(commandkit.FlagMeta{Name: "glossary-file", Usage: "Runtime glossary file (repeatable)."}, nil, func(s string) (string, error) { return s, nil }, func(in *acquisitionInput, value commandkit.Supplied[[]string]) { in.GlossaryFiles = value.Value })
selector := commandkit.RepeatFlag(commandkit.FlagMeta{Name: "glossary-file", Usage: "Shared glossary YAML or JSON file (repeatable)."}, nil, func(s string) (string, error) { return s, nil }, func(in *acquisitionInput, value commandkit.Supplied[[]string]) { in.GlossaryFiles = value.Value })
appScope := ckconfig.FromConfigKit("app", "Audita application settings.", loadApplication)
appScope.Features.Overrides = true
appScope = shareComparisonGlossaries(withBootstrapContext(appScope))