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
type Telemetry ¶ added in v2.1.1
type Telemetry struct{}
Telemetry is the :telemetry command: what usage reporting sends, and whether it is on in this process.
It is the other half of moving the first-run disclosure onto one line of the stack bar. A line has room for the fact and not for the enumeration, so the enumeration needs somewhere to live that a reader can reach on purpose — asked for rather than pushed, and available on every run instead of only the first.
func (Telemetry) Description ¶ added in v2.1.1
func (Telemetry) Spec ¶ added in v2.1.1
func (Telemetry) Spec() registry.CommandSpec