mirror of
https://github.com/spf13/cobra
synced 2024-12-29 15:57:10 +00:00
tweaking extra completion instructions
This commit is contained in:
parent
d728bbb91e
commit
52185bed6e
2 changed files with 12 additions and 6 deletions
|
@ -858,9 +858,12 @@ To configure the Nushell cobra external completer for the first time:
|
||||||
completer: $cobra_completer
|
completer: $cobra_completer
|
||||||
}
|
}
|
||||||
|
|
||||||
NOTE: This completer will work for all cobra based commands.
|
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.
|
More information can be found in the External Completions 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.
|
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()),
|
`, c.Root().Name()),
|
||||||
Args: NoArgs,
|
Args: NoArgs,
|
||||||
ValidArgsFunction: NoFileCompletions,
|
ValidArgsFunction: NoFileCompletions,
|
||||||
|
|
|
@ -83,9 +83,12 @@ Nushell:
|
||||||
completer: $cobra_completer
|
completer: $cobra_completer
|
||||||
}
|
}
|
||||||
|
|
||||||
NOTE: This completer will work for all cobra based commands.
|
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.
|
More information can be found in the External Completions 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.
|
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()),
|
`,cmd.Root().Name()),
|
||||||
DisableFlagsInUseLine: true,
|
DisableFlagsInUseLine: true,
|
||||||
|
|
Loading…
Reference in a new issue