Documentation ¶
Index ¶
- Variables
- func Debug() bool
- func DirApp(c *cli.Context, wd string) (string, string, error)
- func Error(err error)
- func New() *cli.App
- func Query(bin string, args ...string) ([]byte, error)
- func RegisterCommand(cmd cli.Command)
- func Run(bin string, args ...string) error
- func Tag() string
- func Usage(c *cli.Context, name string)
- func VersionPrinter(printer func(*cli.Context))
- type Table
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DirApp ¶
If user specifies the app's name from command line, then use it; otherwise use the current working directory's name
func RegisterCommand ¶
func VersionPrinter ¶
Types ¶
type Table ¶
func (*Table) FormatString ¶
Click to show internal directories.
Click to hide internal directories.