Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = createDefaultConfig()
Default contains default configuration.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { OutWriter io.Writer ErrWriter io.Writer InReader io.Reader FS afero.Fs Execer exec.Interface WorkingDir string RootDir string ManifestName string BinDirName string Mode Mode Verbose bool Logger *log.Logger }
Config specifies the configration for managing development tools.
func (*Config) Create ¶
func (c *Config) Create() (tool.Repository, error)
Create creates a new instance of tool.Repository to manage developemnt tools.
func (*Config) DetectMode ¶
func (c *Config) DetectMode()
DetectMode detects a current Mode and sets a root directory.
Click to show internal directories.
Click to hide internal directories.