Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigCreator ¶
DefaultConfigCreator represents the default configuration creator that builds a Config instance using the values specified using the default flags.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config contains the configuration data for the init command
func (*Config) GetConfigCreator ¶
func (c *Config) GetConfigCreator() ConfigCreator
GetConfigCreator return the function that should be run to create a configuration from a set of flags specified by the user with the "init" command
func (*Config) WithConfigCreator ¶
func (c *Config) WithConfigCreator(creator ConfigCreator) *Config
WithConfigCreator sets the given setup function as the configuration creator
Click to show internal directories.
Click to hide internal directories.