Documentation
¶
Overview ¶
Package extensioncmd is the shared text command surface for the CLI, REPL and TUI. It is not registered as a model tool. Connecting is an operator action.
Index ¶
- func Detail(m *extensions.Manager, ref extensions.SourceRef) (string, error)
- func RenderList(m *extensions.Manager, kind string) string
- func Run(kind string, args []string, in io.Reader, out, errOut io.Writer) int
- func RunVersion(kind, version string, args []string, in io.Reader, out, errOut io.Writer) int
- func WithSetupDisplay(ctx context.Context, show func(string)) context.Context
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Detail ¶
func Detail(m *extensions.Manager, ref extensions.SourceRef) (string, error)
func RenderList ¶
func RenderList(m *extensions.Manager, kind string) string
func Run ¶
Run handles standalone administration without a build version; update-helper needs one, so the CLI entry point calls RunVersion.
func RunVersion ¶ added in v1.5.136
RunVersion handles standalone administration. --yes is explicit operator consent, not a model-controlled permission. No commands here call business tools.