Documentation
¶
Overview ¶
Package disable is the gtb-only `disable` command, the inverse of internal/cmd/enable. It turns off a capability of a generated tool and rewrites the generated wiring to match.
Simple on/off built-in features (ai, config, telemetry, init, update, mcp, docs, doctor, changelog) are a positional argument on `disable` itself — `gtb disable doctor` flips properties.features in .gtb/manifest.yaml and re-renders the root command. Capabilities with their own configuration are scoped subcommands: `gtb disable signing` turns off consumer-side release-signing verification (dropping the Signing field and signing.go, keeping internal/trustkeys and any *.asc keys).
See docs/development/specs/2026-06-16-enable-disable-features.md and docs/development/specs/2026-06-10-signing-generator-feature.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdDisable ¶
NewCmdDisable returns the top-level `gtb disable [feature]` command. A built-in feature passed positionally is toggled off; a first argument matching a scoped subcommand (signing) routes there instead; no argument opens the feature picker.
Types ¶
This section is empty.