Documentation ¶ Index ¶ type Config func Default() *Config func New() *Config func (c *Config) Cwd() (string, error) type Root Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { // Verbose enables verbose logging. Verbose bool // Force forces the creation of the file. Force bool // File is the file to write to. File string // Root is the root configuration. Root Root } Config is the configuration for the application. func Default ¶ func Default() *Config Default returns the default configuration. func New ¶ func New() *Config New returns a new Config. func (*Config) Cwd ¶ func (c *Config) Cwd() (string, error) Cwd is the current working directory. type Root ¶ type Root struct { // Hook is the name of the hook to run. Run string } Root is the root configuration. Source Files ¶ View all Source files cfg.go Click to show internal directories. Click to hide internal directories.