Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllCommandInfos ¶
func AllCommandInfos() []helpview.CommandInfo
func CommandHelpCategories ¶
func CommandHelpCategories(cmd registry.Command) []helpview.HelpCategory
CommandHelpCategories renders a command's spec into the detailed help view's category model (reused as-is via the help-view factory).
Types ¶
type Bootstrap ¶
type Bootstrap struct{}
func (Bootstrap) Description ¶
func (Bootstrap) Spec ¶
func (Bootstrap) Spec() registry.CommandSpec
Spec marks the OSS stub as passthrough: help interception and strict flag validation are skipped so every invocation (incl. --help and any Pro flags) reaches Execute and yields the Business-Edition notice. This keeps Pro flag names/descriptions out of the OSS repo.
type Contexts ¶
type Contexts struct{}
func (Contexts) Description ¶
func (Contexts) Spec ¶
func (Contexts) Spec() registry.CommandSpec
type DevUpdate ¶
type DevUpdate struct{}
DevUpdate is the dev-only :dev-update command. It force-shows the startup "update available" notice on demand for previewing, bypassing the per-version dismissal. Registered only under SWARMCLI_ENV=dev (see init), so it does not exist in production builds.
func (DevUpdate) Description ¶
func (DevUpdate) Spec ¶
func (DevUpdate) Spec() registry.CommandSpec
type Help ¶
type Help struct{}
func (Help) Description ¶
func (Help) Spec ¶
func (Help) Spec() registry.CommandSpec
type Quit ¶
type Quit struct{}
func (Quit) Description ¶
func (Quit) Spec ¶
func (Quit) Spec() registry.CommandSpec