Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Completions ¶
func GenerateBins ¶
func GenerateCompletions ¶
Types ¶
type CommandRunner ¶
func (*CommandRunner) Key ¶
func (c *CommandRunner) Key() string
type Config ¶
type Config struct {
Imports []string
Transformers []*MatchRunner
Completers []*MatchRunner
Commands []*Command
CommandLookup map[string]*Command
TransformerLookup map[string]*MatchRunner
CompleterLookup map[string]*MatchRunner
Shell string
}
func AutoLoadConfig ¶
func LoadConfig ¶
type EmptyOutError ¶
type EmptyOutError struct {
// contains filtered or unexported fields
}
func (*EmptyOutError) Error ¶
func (e *EmptyOutError) Error() string
type MatchRunner ¶
type MatchRunner struct {
Match string `yaml:"match"`
PrevMatch string `yaml:"prev-match"`
Name string `yaml:"name"`
Cache int `yaml:"cache"`
// contains filtered or unexported fields
}
func (*MatchRunner) CheckMatch ¶
func (*MatchRunner) Key ¶
func (m *MatchRunner) Key(a ...string) string
func (*MatchRunner) UnmarshalYAML ¶
func (m *MatchRunner) UnmarshalYAML(unmarshal func(v interface{}) error) error
Click to show internal directories.
Click to hide internal directories.