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