Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigAsYamlString ¶
Types ¶
type Config ¶
type Config struct { Phony []string `yaml:"phony"` Targets map[string]Target `yaml:"targets"` HelpTemplate struct { Enabled bool `yaml:"enabled"` Delimiter string `yaml:"delimiter"` } `yaml:"helpTemplate"` VersionTemplate struct { Enabled bool `yaml:"enabled"` Library string `yaml:"library"` MinVersion string `yaml:"minVersion"` } `yaml:"versionTemplate"` }
type ConfigManager ¶
type ConfigManager struct {
// contains filtered or unexported fields
}
func NewConfigManager ¶
func NewConfigManager(logger *zap.Logger, filePath string) *ConfigManager
func (*ConfigManager) Apply ¶
func (c *ConfigManager) Apply() error
func (*ConfigManager) Parse ¶
func (c *ConfigManager) Parse() *ConfigManager
type SuggarString ¶
type SuggarString struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.