Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version represents the current version of the dfm cli --> Set by build flags Version string // BuildDate is the date the current version was built --> Set by build flags BuildDate string // ErrNoHomeEnv is the error that is returned when HOME environment variable is not set ErrNoHomeEnv = errors.New("HOME environment variable not set") // ErrNoConfigFile is the error that is returned when the configuration file could not be found ErrNoConfigFile = errors.New("Could not find a configuration file") // Fs is the afero filesystem used when making file system manipulations Fs = afero.NewOsFs() )
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { Repo string SrcDir string DestDir string Alias map[string]string Tasks map[string]tasks.Task // contains filtered or unexported fields }
func (*Configuration) Parse ¶ added in v0.1.1
func (c *Configuration) Parse(file string) error
func (*Configuration) SetDefaults ¶ added in v0.1.1
func (c *Configuration) SetDefaults()
Click to show internal directories.
Click to hide internal directories.