tweaking extra completion instructions

This commit is contained in:
Jack Wright 2024-12-08 19:44:45 -08:00
parent d728bbb91e
commit 52185bed6e
2 changed files with 12 additions and 6 deletions

View file

@ -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,

View file

@ -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,