import commander from "commander"; import { addCompletionSpecCommand } from "../../../src"; const program = new commander.Command(); program .option("-f, --float ", "float argument") .option("-i, --integer ", "integer argument") .option("-v, --verbose [level]", "verbosity that can be increased", "1") .option("-c, --collect ", "repeatable value") .option("-l, --list ", "comma separated list"); addCompletionSpecCommand(program); program.parse(process.argv);