Skip to content

enable / disable Commands

gtb enable and gtb disable toggle capabilities on a generated project — either named features, or the dedicated signing and mcp capabilities. Part of the framework-developer CLI. For runtime feature flags in your tool's own code, see Configuring Built-in Features.

Usage

gtb enable [feature...] [flags]
gtb enable signing [flags]
gtb enable mcp [command-path...] [flags]

gtb disable [feature...] [flags]
gtb disable signing [flags]
gtb disable mcp [command-path...] [flags]

All commands accept --path, -p (default .) for the project root.

enable / disable [feature...]

Enable or disable named built-in features on the project. With no feature arguments, prints the current state.

signing

enable signing wires consumer-side release-signature verification (and the GoReleaser signing block when --key-id is set); disable signing removes it.

Flag Default Description
--email Release WKD email (external_key_email); enables the external trust-anchor leg.
--key-source both Trust-anchor source: embedded, external, or both.
--require-signature false Fail updates closed when no valid signature is present (flip only once a signed release has shipped).
--require-external-crosscheck false Fail closed when the external (WKD) resolver is unreachable.
--key-id Signing key id/ARN/alias (or PEM path) the release pipeline signs with.
--backend (aws-kms when --key-id set) gtb sign backend for the release pipeline.
--kms-region eu-west-2 AWS region for the aws-kms backend.
--public-key (embedded signing-key) Path to the embedded public key the signature identifies.

See Secure Releases.

mcp

enable mcp enables the MCP feature, or exposes specific commands as MCP tools; disable mcp disables it, or withholds specific commands. Pass command-path arguments to scope to individual commands. See Expose an MCP Server.

Run any command with --help for the complete, authoritative flag set.