command

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionFunc

func ActionFunc(fn cli.ActionFunc) cli.ActionFunc

ActionFunc returns a cli.ActionFunc that stores the context.

func IsForce

func IsForce() bool

IsForce returns if the force flag was passed

func Register

func Register(c cli.Command)

Register adds the given command to the global list of commands. It sets recursively the command Flags environment variables.

func Retrieve

func Retrieve() []cli.Command

Retrieve returns all commands

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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