Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cp = &cli.Command{
Name: "cp",
Usage: "simple copy file",
Action: cmdCp,
}
View Source
var Dirname = &cli.Command{
Name: "dirname",
Usage: "show the path's directory",
Action: cmdDirname,
}
View Source
var Exec = &cli.Command{ Name: "exec", Usage: "exec a command in specified env, such as extra PATH dir\n", Action: cmdExec, Flags: []cli.Flag{ &cli.StringSliceFlag{Name: "env-var", Aliases: []string{"e"}, Usage: "add env var"}, &cli.StringSliceFlag{Name: "env-path", Aliases: []string{"p"}, Usage: "add extra item to PATH"}, &cli.StringSliceFlag{Name: "env-path-overwrite", Aliases: []string{"po"}, Usage: "overwrite PATH env var"}, &cli.StringFlag{Name: "work-dir", Aliases: []string{"wd"}, Usage: "set work dir"}, }, }
View Source
var Pwd = &cli.Command{ Name: "pwd", Aliases: []string{"cwd"}, Usage: "show current directory", Action: cmdPwd, }
View Source
var Which = &cli.Command{
Name: "which",
Usage: "find the excutable in PATH",
Action: cmdWhich,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.