Add scoped PromptKit flag aliases
This commit is contained in:
13
docs/cli.md
13
docs/cli.md
@@ -574,6 +574,19 @@ controls the engine view and these flags are unavailable.
|
||||
Catalog namespace filters remain separate; configuration inspection has no
|
||||
resource namespace selectors.
|
||||
|
||||
### PromptKit convenience aliases
|
||||
|
||||
Applications that install `ckprompt.Declarations(suite)` provide scoped
|
||||
convenience spellings for the enabled PromptKit commands. Each applicable
|
||||
`--llm-NAME` flag also accepts `--NAME`; `--llm-input-text` additionally accepts
|
||||
`--llm-input` and `--input` for literal text. Use `--llm-input-file` or
|
||||
`--input-file` for a file reference. Canonical and alias spellings share the
|
||||
same binding, including their occurrence order and explicit-value semantics.
|
||||
|
||||
Applications that install `ckprompt.Command(suite)` receive the canonical
|
||||
spellings only. The aliases do not apply to application-owned commands unless
|
||||
the application installs them separately.
|
||||
|
||||
## PromptKit prepared-request preview
|
||||
|
||||
When `Suite.PrepareRequest` is present, `ckprompt.Command(suite)` installs
|
||||
|
||||
Reference in New Issue
Block a user