Documentation
¶
Overview ¶
Package flags provides shared flag accessors for CLI commands. This package exists to avoid import cycles between the root command and noun subpackages (skill, mcp, agent, etc.).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddScopeFlag ¶ added in v0.7.0
AddScopeFlag adds the --scope flag to the given command.
func GetPlatformFlag ¶
func GetPlatformFlag() []string
GetPlatformFlag returns the current value of the --platform flag. This is used by subcommands to access the flag value.
func GetScopeFlag ¶ added in v0.7.0
func GetScopeFlag() string
GetScopeFlag returns the current value of the --scope flag.
func SetPlatformFlag ¶
func SetPlatformFlag(platforms []string)
SetPlatformFlag sets the platform flag value. This is used by the root command to set the flag value after parsing, and for programmatic override (e.g., interactive mode).
func SetScopeFlag ¶ added in v0.7.0
func SetScopeFlag(scope string)
SetScopeFlag sets the scope flag value.
Types ¶
This section is empty.