Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitCommand = cli.Command{ Name: "init", Usage: "create a configuration file if it doesn't exist", Action: Init, Flags: []cli.Flag{ cli.StringFlag{ Name: "dest, d", Usage: "created configuration file path", Value: "/etc/akoi/akoi.yml", EnvVar: "AKOI_CONFIG_PATH", }, }, }
InitCommand is the sub command "init".
View Source
var InstallCommand = cli.Command{ Name: "install", Usage: "intall binaries", Action: Install, Flags: []cli.Flag{ cli.StringFlag{ Name: "config, c", Usage: "configuration file path", EnvVar: "AKOI_CONFIG_PATH", }, cli.StringFlag{ Name: "format, f", Usage: "output format", Value: "human", }, cli.BoolFlag{ Name: "dry-run, n", Usage: "dry run", }, }, }
InstallCommand is the sub command "install".
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.