Complete CommandKit consumer documentation
This commit is contained in:
@@ -8,7 +8,10 @@ import (
|
||||
)
|
||||
|
||||
// NewPromptKitScope adapts PromptKit's captured configuration inspection to
|
||||
// CommandKit's configuration commands.
|
||||
// CommandKit's configuration commands. The loader runs only when a selected
|
||||
// configuration operation acquires this scope. Successful construction and
|
||||
// inspection supply validation; the adapter does not execute prompts, resolve
|
||||
// credentials, or probe model availability.
|
||||
func NewPromptKitScope[C any](
|
||||
load func(context.Context, Selection, C) (*promptkit.Engine, error),
|
||||
) (ConfigScope[C], error) {
|
||||
|
||||
Reference in New Issue
Block a user