Compose runtime glossary files with native configuration
This commit is contained in:
@@ -40,8 +40,11 @@ func loadApplication(ctx context.Context, selection ckconfig.Selection, _ struct
|
||||
} else {
|
||||
source = ck.SearchConfig("audita", ck.Searches(ck.WorkingDirectory(), ck.UserConfigDirectory(), ck.UnixSystemDirectories()))
|
||||
}
|
||||
loaded, report, err := appconfig.Load(ctx, ck.Input{Source: source}, selection.Overlay.Value, selection.Overrides...)
|
||||
return loaded, reportBootstrap(ctx, report, err)
|
||||
loaded, report, err := appconfig.Load(ctx, ck.Input{Source: source}, appconfig.Options{Overlay: selection.Overlay.Value, Overrides: selection.Overrides})
|
||||
if err != nil {
|
||||
return nil, reportBootstrap(ctx, report, err)
|
||||
}
|
||||
return loaded.Result, reportBootstrap(ctx, report, nil)
|
||||
}
|
||||
|
||||
func loadPromptEngine(ctx context.Context, selection ckconfig.Selection, input struct{}, state *invocationState) (*pk.Engine, error) {
|
||||
|
||||
Reference in New Issue
Block a user