mirror of https://github.com/spf13/cobra.git
Format with spaces instead of tabs
This commit is contained in:
parent
e7abbf39a3
commit
7eac0e11ae
|
@ -24,8 +24,6 @@ import (
|
||||||
func (c *Command) GenNushellCompletion(w io.Writer, includeDesc bool) error {
|
func (c *Command) GenNushellCompletion(w io.Writer, includeDesc bool) error {
|
||||||
buf := new(bytes.Buffer)
|
buf := new(bytes.Buffer)
|
||||||
WriteStringAndCheck(buf, fmt.Sprintf(`
|
WriteStringAndCheck(buf, fmt.Sprintf(`
|
||||||
# An external completer that works with any cobra based
|
|
||||||
# command line application (e.g. kubectl, minikube)
|
|
||||||
let cobra_completer = {|spans|
|
let cobra_completer = {|spans|
|
||||||
let ShellCompDirectiveError = %[1]d
|
let ShellCompDirectiveError = %[1]d
|
||||||
let ShellCompDirectiveNoSpace = %[2]d
|
let ShellCompDirectiveNoSpace = %[2]d
|
||||||
|
|
Loading…
Reference in New Issue