-
Notifications
You must be signed in to change notification settings - Fork 343
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
ArgumentParser
should have the ability to generate code-completion scripts for different shells. This should initially support zsh
and bash
, for feature parity with the SwiftPM's completion-tool
command, but be extensible to other shell completion styles as well.
One design would be to mimic the automatically-provided --help
flag with a --generate-completion-tool
option, that would take the name of the shell as its value. We'll need to augment ArgumentHelp
so that an author can indicate the kinds of completions that are available, such as filename or path completion.
Gary-Ash, KyleLeneau, ktoso, spotlightishere, kastiglione and 32 morekiliankoe, AndrewBarba, pyrtsa, nerdsupremacist, mackoj and 1 moreadellibovi
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request