MCPcopy Index your code
hub / github.com/dim-an/cod / ShellScriptGenerator

Interface ShellScriptGenerator

shells/shells.go:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22)
23
24type ShellScriptGenerator interface {
25 GetPreamble() []string
26 GenerateCompletions(executableName string, completions []datastore.Completion) []string
27 ResetCommand(executablePath string) []string
28}
29
30func NewShellScriptGenerator(shell string, codBinary string) (ShellScriptGenerator, error) {
31 switch shell {

Callers 4

handleInitScriptMethod · 0.65
handleInitScriptMethod · 0.65
handlePollUpdatesMethod · 0.65
handlePollUpdatesMethod · 0.65

Implementers 3

Zshshells/shells.go
Fishshells/shells.go
Bashshells/shells.go

Calls

no outgoing calls

Tested by

no test coverage detected