mirror of
https://github.com/spf13/cobra.git
synced 2024-12-23 12:05:13 -07:00
Added new directive to the list of directives for posterity.
This commit is contained in:
parent
7eac0e11ae
commit
8b4aa590bb
@ -30,6 +30,7 @@ let cobra_completer = {|spans|
|
||||
let ShellCompDirectiveNoFileComp = %[3]d
|
||||
let ShellCompDirectiveFilterFileExt = %[4]d
|
||||
let ShellCompDirectiveFilterDirs = %[5]d
|
||||
let ShellCompDirectiveKeepOrder = %[6]d
|
||||
|
||||
let cmd = $spans | first
|
||||
let rest = $spans | skip
|
||||
@ -109,7 +110,7 @@ let cobra_completer = {|spans|
|
||||
}
|
||||
}
|
||||
`, ShellCompDirectiveError, ShellCompDirectiveNoSpace, ShellCompDirectiveNoFileComp,
|
||||
ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs))
|
||||
ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs, ShellCompDirectiveKeepOrder))
|
||||
|
||||
_, err := buf.WriteTo(w)
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user