Documentation ¶
Index ¶
- Variables
- type CWCtl
- func (cli *CWCtl) CmdBuild(args ...string) (err error)
- func (cli *CWCtl) CmdDump(args ...string) error
- func (cli *CWCtl) CmdInfo(args ...string) error
- func (cli *CWCtl) CmdInstall(args ...string) error
- func (cli *CWCtl) CmdPwgen(args ...string) error
- func (cli *CWCtl) CmdRestart(args ...string) error
- func (cli *CWCtl) CmdRestore(args ...string) error
- func (cli *CWCtl) CmdRun(args ...string) error
- func (cli *CWCtl) CmdSetenv(args ...string) error
- func (cli *CWCtl) CmdSh(args ...string) error
- func (cli *CWCtl) CmdStart(args ...string) error
- func (cli *CWCtl) CmdStatus(args ...string) error
- func (cli *CWCtl) CmdStop(args ...string) error
- func (cli *CWCtl) Command(name string) func(...string) error
- func (cli *CWCtl) Subcmd(name string, synopses ...string) *flag.FlagSet
- type Command
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandUsage = []Command{
{"start", "Start the application"},
{"stop", "Stop the application"},
{"restart", "Restart the application"},
{"status", "Show application status"},
}
Commands lists the top level commands and their short usage
View Source
var Commands = make(map[string]Command)
Functions ¶
This section is empty.
Types ¶
type CWCtl ¶
func (*CWCtl) CmdInstall ¶
func (*CWCtl) CmdRestart ¶
func (*CWCtl) CmdRestore ¶
Click to show internal directories.
Click to hide internal directories.