Documentation
¶
Index ¶
- func DDirExist(path string) bool
- func Help(parser flags.Parser, opts HelpOpts)
- func Init(gc globconf.Globconf, mopts MainOpts, opts InitOpts)
- func List(gc globconf.Globconf, mopts MainOpts, opts ListOpts)
- func Run(gc globconf.Globconf, mopts MainOpts, opts RunOpts)
- func Version(opts VersionOpts)
- type HelpOpts
- type InitOpts
- type ListOpts
- type MainOpts
- type RunOpts
- type VersionOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Version ¶
func Version(opts VersionOpts)
Types ¶
type HelpOpts ¶
type HelpOpts struct {
Args struct {
Subcommand string `` /* 235-byte string literal not displayed */
} `positional-args:"yes"`
}
type InitOpts ¶
type InitOpts struct {
NoGit bool `long:"no-git" description:"Won't create the .git directory (via git init)"`
}
type ListOpts ¶
type ListOpts struct {
Args struct {
Priority uint `` /* 167-byte string literal not displayed */
} `positional-args:"yes"`
}
type MainOpts ¶
type MainOpts struct {
DDir string `short:"D" long:"decldir" description:"the decldir path to operate"`
GlobConf string `short:"C" long:"config" description:"Specify global config"`
Version bool `short:"V" long:"version" description:"Gives you version info, same as subcommand version"`
Help bool `short:"h" long:"help" description:"Shows help, same as subcommand help"`
}
type RunOpts ¶
type RunOpts struct {
Args struct {
Priority uint `` /* 165-byte string literal not displayed */
} `positional-args:"yes"`
}
type VersionOpts ¶
type VersionOpts struct{}
Click to show internal directories.
Click to hide internal directories.