Debian Codegraph @

integrations/commander/test/fixtures/argument/command.ts

raw symbols SCIP
1 import { Command } from "commander";
2 import { addCompletionSpecCommand } from "../../../src";
3
4 const program = new Command();
5
6 program
7 .version("0.1.0")
8 .argument("<username>", "user to login")
9 .argument("[password]", "password for user, if required", "no password given")
10 .description("example program for argument");
11
12 addCompletionSpecCommand(program);
13 program.parse(process.argv);