Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNotARepo = errors.New("not a git repository")
ErrNotARepo is returned when the current directory is not inside a git repository.
var Version = "0.5.1"
Version is set at build time via ldflags.
Functions ¶
func FormatError ¶
FormatError returns a user-friendly, WTF-themed error string.
func IsJSONOutput ¶ added in v0.4.0
func IsJSONOutput() bool
IsJSONOutput reports whether the global --json flag was set.
Types ¶
This section is empty.