Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetVersionInfo ¶
func SetVersionInfo(ver, cmt, date string)
SetVersionInfo sets the version information
Types ¶
type CLI ¶
type CLI struct {
From string `name:"from" help:"Source directory to copy files from." type:"path" env:"AIRULE_FROM"`
To string `name:"to" help:"Destination directory to copy files to." type:"path" env:"AIRULE_TO"`
Include []string `name:"include" short:"i" help:"Patterns to include (glob syntax, e.g. '*.go')." env:"AIRULE_INCLUDE"`
Exclude []string `name:"exclude" short:"e" help:"Patterns to exclude (glob syntax, e.g. '*.tmp')." env:"AIRULE_EXCLUDE"`
SelectAll bool `name:"select-all" help:"Select all files matching the include/exclude patterns." env:"AIRULE_SELECT_ALL"`
PreSelect []string `name:"pre-select" help:"Patterns to pre-select (glob syntax, e.g. '*.go')." env:"AIRULE_PRE_SELECT"`
Clean bool `` /* 126-byte string literal not displayed */
CleanExclude []string `` /* 151-byte string literal not displayed */
Version kong.VersionFlag `short:"v" help:"Show version and exit."`
}
CLI represents the command-line interface structure
Click to show internal directories.
Click to hide internal directories.