Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cli.Command{
Name: "conf",
Usage: "manage configuration file",
Subcommands: []*cli.Command{
initCmd,
editCmd,
dataCmd,
pathCmd,
},
}
Functions ¶
func Init ¶
func Init() error
Init initializes the configuration directory for the current user and given application name. The directory is completely removed and new configuration file(s) are created.
func LoadConfig ¶
func LoadConfig(out interface{}) error
LoadConfig reads and decodes config file content into 'out'.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.