cli

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCommand

func CheckCommand() *cobra.Command

func InitCommand

func InitCommand() *cobra.Command

func IsColorEnabled

func IsColorEnabled() bool

func MCPCommand

func MCPCommand(version string) *cobra.Command

MCPCommand returns the `mcp` subcommand.

func ReportCommand added in v0.8.5

func ReportCommand() *cobra.Command

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

Jump to

Keyboard shortcuts

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