mirror of https://github.com/spf13/cobra.git
tweaking extra completion instructions
This commit is contained in:
parent
d728bbb91e
commit
52185bed6e
|
@ -858,9 +858,12 @@ To configure the Nushell cobra external completer for the first time:
|
|||
completer: $cobra_completer
|
||||
}
|
||||
|
||||
NOTE: This completer will work for all cobra based commands.
|
||||
More information can be found in the External Completions (https://www.nushell.sh/book/custom_completions.html#custom-descriptions) section of the Nushell book.
|
||||
Information on setting up more than one external completer can be found in the Multiple completer (https://www.nushell.sh/cookbook/external_completers.html#multiple-completer) section of the Nushell cookbook.
|
||||
This completer will work for all cobra based commands.
|
||||
More information can be found in the External Completions section of the Nushell book:
|
||||
https://www.nushell.sh/book/custom_completions.html#external-completions
|
||||
|
||||
Information on setting up more than one external completer can be found in the Multiple completer section of the Nushell cookbook:
|
||||
https://www.nushell.sh/cookbook/external_completers.html#multiple-completer
|
||||
`, c.Root().Name()),
|
||||
Args: NoArgs,
|
||||
ValidArgsFunction: NoFileCompletions,
|
||||
|
|
|
@ -83,9 +83,12 @@ Nushell:
|
|||
completer: $cobra_completer
|
||||
}
|
||||
|
||||
NOTE: This completer will work for all cobra based commands.
|
||||
More information can be found in the External Completions (https://www.nushell.sh/book/custom_completions.html#custom-descriptions) section of the Nushell book.
|
||||
Information on setting up more than one external completer can be found in the Multiple completer (https://www.nushell.sh/cookbook/external_completers.html#multiple-completer) section of the Nushell cookbook.
|
||||
This completer will work for all cobra based commands.
|
||||
More information can be found in the External Completions section of the Nushell book:
|
||||
https://www.nushell.sh/book/custom_completions.html#external-completions
|
||||
|
||||
Information on setting up more than one external completer can be found in the Multiple completer section of the Nushell cookbook:
|
||||
https://www.nushell.sh/cookbook/external_completers.html#multiple-completer
|
||||
|
||||
`,cmd.Root().Name()),
|
||||
DisableFlagsInUseLine: true,
|
||||
|
|
Loading…
Reference in New Issue