Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIncorrectNArgs = errors.New("incorrect number of arguments")
View Source
var ErrReallyDoIt = errors.New("you must pass --really-do-it to do this")
View Source
var ReallyDotItFlag = &cli.BoolFlag{
Name: "really-do-it",
Usage: "Really do it",
}
Functions ¶
func CheckNArgs ¶ added in v0.4.0
func CheckNArgs(c *cli.Context) error
func HandleReallyDoIt ¶ added in v0.3.0
func HandleReallyDoIt(context *cli.Context) error
func PrintAsJSON ¶ added in v0.2.8
func PrintAsJSON(c *cli.Context, obj any)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.