cmd

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandName added in v1.6.0

func CommandName() string

CommandName returns the resolved command name from the last execution.

func Execute

func Execute() error

func IsJSONMode added in v1.6.0

func IsJSONMode() bool

IsJSONMode returns true if the --json flag was set on the root command.

func Version

func Version() string

Version returns the current version string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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