Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCommand ¶
func InitCommand ¶
func IsColorEnabled ¶
func IsColorEnabled() bool
func MCPCommand ¶
MCPCommand returns the `mcp` subcommand.
func ReportCommand ¶ added in v0.8.5
func TerminalWidth ¶
func TerminalWidth() int
Types ¶
type FormatMode ¶
type FormatMode int
const ( FormatAuto FormatMode = iota FormatHuman FormatJSON FormatMarkdown FormatProblems )
func DetectFormat ¶
func DetectFormat(flagValue string) FormatMode
func ResolveFormat ¶
func ResolveFormat(flagValue string) FormatMode
func ResolveFormatStrict ¶
func ResolveFormatStrict(flagValue string) (FormatMode, error)
func (FormatMode) String ¶
func (f FormatMode) String() string
Click to show internal directories.
Click to hide internal directories.