Documentation
¶
Index ¶
- Variables
- func OptsToLetsCli(opts docopt.Opts) map[string]string
- func OptsToLetsOpt(opts docopt.Opts) map[string]string
- func Parse(data []byte, cfg *config.Config) error
- func ParseDocopts(args []string, docopts string) (docopt.Opts, error)
- func ParseDocoptsOptions(docopts string, cmdName string) ([]docopt.Option, error)
- type ConfigParseError
- type EnvChecksum
- type EnvEntry
- type EnvSh
- type EnvString
- type ParseError
- type RemoteMixin
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CMD = "cmd" DESCRIPTION = "description" WORKDIR = "work_dir" SHELL = "shell" ENV = "env" EvalEnv = "eval_env" OPTIONS = "options" DEPENDS = "depends" CHECKSUM = "checksum" PersistChecksum = "persist_checksum" AFTER = "after" REF = "ref" ARGS = "args" )
Functions ¶
func ParseDocopts ¶
ParseDocopts parses docopts for command options with args from os.Args.
Types ¶
type ConfigParseError ¶
func (*ConfigParseError) Error ¶
func (e *ConfigParseError) Error() string
type EnvChecksum ¶
type EnvChecksum struct {
// contains filtered or unexported fields
}
func (EnvChecksum) Name ¶
func (entry EnvChecksum) Name() string
func (EnvChecksum) Value ¶
func (entry EnvChecksum) Value() (string, error)
type ParseError ¶
func (*ParseError) Error ¶
func (e *ParseError) Error() string
type RemoteMixin ¶ added in v0.0.49
func (*RemoteMixin) Filename ¶ added in v0.0.49
func (rm *RemoteMixin) Filename() string
Filename is name of mixin file (hash from url).
func (*RemoteMixin) Path ¶ added in v0.0.49
func (rm *RemoteMixin) Path() string
Path is abs path to mixin file (.lets/mixins/<filename>).
Click to show internal directories.
Click to hide internal directories.