mirror of
https://github.com/spf13/cobra.git
synced 2024-12-19 10:05:07 -07:00
Added a comment at the beginning to remain consistent with other shells.
This commit is contained in:
parent
ddb39920b4
commit
470ca0a628
@ -23,6 +23,7 @@ import (
|
||||
|
||||
func (c *Command) GenNushellCompletion(w io.Writer, includeDesc bool) error {
|
||||
buf := new(bytes.Buffer)
|
||||
WriteStringAndCheck(buf, "# nushell completion -*- shell-script -*- \n")
|
||||
WriteStringAndCheck(buf, fmt.Sprintf(`
|
||||
let cobra_completer = {|spans|
|
||||
let ShellCompDirectiveError = %[1]d
|
||||
|
Loading…
Reference in New Issue
Block a user