Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
// general flags
Debug bool `help:"enable debug logs"`
Force bool `help:"on init command: force file creation"`
// Args
Args []string `arg:"" help:"command arguments" optional:""`
// command flags
Init bool `help:"create taskfile in current dir" xor:"commands"`
Set bool `help:"set command: '--set <name> <full command>'" xor:"commands"`
Default bool `help:"set command as default: '--default <name>'" xor:"commands"`
Ls bool `help:"list available commands" xor:"commands"`
Rm bool `help:"remove command: '--rm <name>'" xor:"commands"`
}
Click to show internal directories.
Click to hide internal directories.