Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Store *store.Store
)
Functions ¶
func IsJSON ¶
func IsJSON() bool
IsJSON returns true if output should be JSON (explicit --json flag).
func IsPlain ¶ added in v0.1.1
func IsPlain() bool
IsPlain returns true if output should be plain text (piped, no formatting).
func OutputMode ¶
func OutputMode() string
OutputMode returns "json", "plain", or "text" based on flags and TTY detection.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.