Documentation ¶
Index ¶
- func GetFullInitScript(shell string) string
- func GetInitScript(shell string) string
- func GetInitScriptShells() []string
- func Matches(value, sequence string) bool
- type Completer
- func (c *Completer) AllScratchpads()
- func (c *Completer) AllServiceNamespaces()
- func (c *Completer) AllServiceRepos()
- func (c *Completer) Apps()
- func (c *Completer) DefaultServiceNamespaces()
- func (c *Completer) DefaultServiceRepos()
- func (c *Completer) Fixed(options ...string)
- func (c *Completer) RepoAliases()
- func (c *Completer) ServicePrefixes()
- func (c *Completer) Services()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFullInitScript ¶ added in v1.5.0
GetFullInitScript fetches the full initialization script for the provided shell.
func GetInitScript ¶ added in v1.5.0
GetInitScript fetches the shell initialization script for the provided shell.
func GetInitScriptShells ¶ added in v1.5.0
func GetInitScriptShells() []string
GetInitScriptShells fetches the list of supported shells that may be initialized.
Types ¶
type Completer ¶
type Completer struct { Filter string // contains filtered or unexported fields }
func NewCompleter ¶
func (*Completer) AllScratchpads ¶
func (c *Completer) AllScratchpads()
AllScratchpads will generate autocomplete suggestions for scratchpads
func (*Completer) AllServiceNamespaces ¶
func (c *Completer) AllServiceNamespaces()
AllServiceNamespaces will complete the namespace placeholders for a fully qualified service name
func (*Completer) AllServiceRepos ¶
func (c *Completer) AllServiceRepos()
AllServiceRepos will generate autocomplete suggestions for repos hosted on your all services.
func (*Completer) Apps ¶
func (c *Completer) Apps()
Apps will generate autocomplete suggestions for applications in your config file.
func (*Completer) DefaultServiceNamespaces ¶
func (c *Completer) DefaultServiceNamespaces()
DefaultServiceNamespaces will complete the namespace placeholders for the default service.
func (*Completer) DefaultServiceRepos ¶
func (c *Completer) DefaultServiceRepos()
DefaultServiceRepos will generate autocomplete suggestions for repos hosted on your default service.
func (*Completer) RepoAliases ¶
func (c *Completer) RepoAliases()
RepoAliases will generate autocomplete suggestions for your repo aliases.
func (*Completer) ServicePrefixes ¶
func (c *Completer) ServicePrefixes()
ServicePrefixes will generate autocomplete suggestions the services in your config file.