| 1 | import { Command } from "commander"; |
| 2 | import { addCompletionSpecCommand } from "../../../src"; |
| 3 | |
| 4 | const program = new Command(); |
| 5 | |
| 6 | program |
| 7 | .version("0.0.1") |
| 8 | .description("Application simple description") |
| 9 | .option("-f, --foo", "enable some foo"); |
| 10 | |
| 11 | addCompletionSpecCommand(program); |
| 12 | program.parse(process.argv); |