flags

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 0 Imported by: 0

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 GetPlatformFlag

func GetPlatformFlag() []string

GetPlatformFlag returns the current value of the --platform flag. This is used by subcommands to access the flag value.

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).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL