Package nz.org.riskscape.picocli
Class AutoComplete.GenerateCompletion
java.lang.Object
nz.org.riskscape.picocli.AutoComplete.GenerateCompletion
- All Implemented Interfaces:
Runnable
- Enclosing class:
- AutoComplete
Command that generates a Bash/ZSH completion script for its parent command (which should be the top-level command).
This class can be used as a subcommand for the top-level command in your application. Users can then install completion for the top-level command by running the following command:
source <(top-level-command generate-completion)
- Since:
- 4.1
-
Constructor Summary
Constructors -
Method Summary