Instance Property
enableAutocomplete
If
true, an autocomplete subcommand will be added to any created CommandGroup.var enableAutocomplete: Bool
Discussion
The autocomplete command generates shell completion scripts that can be loaded from shell configuration files to provide autocompletion for the entire command hierarchy and its command-line arguments.
Important
enableAutocomplete should only be set to true for a root command group. Any nested subcommands will automatically be included in the completion script generation process.