Documentation
¶
Index ¶
Constants ¶
View Source
const (
NoticeColor = "\033[1;36m%s\033[0m"
)
Variables ¶
View Source
var ( // COMMANDS is a top-level directive. Includes all commands to run COMMANDS = "commands" SHELL = "shell" ENV = "env" EvalEnv = "eval_env" MIXINS = "mixins" )
Functions ¶
func GetDefaultConfigPath ¶
func GetDefaultConfigPath() string
Types ¶
type Config ¶
type Config struct {
WorkDir string
FilePath string
Commands map[string]command.Command
Shell string
Env map[string]string
// contains filtered or unexported fields
}
Config is a struct for loaded config file
func (*Config) UnmarshalYAML ¶
UnmarshalYAML unmarshals a config
type ParseError ¶
func (*ParseError) Error ¶
func (e *ParseError) Error() string
Click to show internal directories.
Click to hide internal directories.