Add CLI arguments for the complete command.
(parser: FlexibleArgumentParser)
| 201 | |
| 202 | @staticmethod |
| 203 | def add_cli_args(parser: FlexibleArgumentParser) -> FlexibleArgumentParser: |
| 204 | """Add CLI arguments for the complete command.""" |
| 205 | _add_query_options(parser) |
| 206 | parser.add_argument( |
| 207 | "-q", |
| 208 | "--quick", |
| 209 | type=str, |
| 210 | metavar="PROMPT", |
| 211 | help="Send a single prompt and print the completion output, then exit.", |
| 212 | ) |
| 213 | return parser |
| 214 | |
| 215 | def subparser_init(self, subparsers: argparse._SubParsersAction) -> FlexibleArgumentParser: |
| 216 | parser = subparsers.add_parser( |
nothing calls this directly
no test coverage detected