@nestjs/cli
Version:
The Nest CLI: create NestJS applications, generate modules, controllers and CRUD resources, and build, run and watch projects and monorepos.
11 lines (10 loc) • 426 B
TypeScript
import { Command } from 'commander';
/**
* Returns the flags (and their values) that commander.js did not consume.
*
* @param cli The command being run (the subcommand passed to `.action()`).
* Only its own options and those of its ancestors count as consumed: other
* subcommands reuse the same short flags (`-p`, `-c`, `-d`) for different
* options.
*/
export declare function getRemainingFlags(cli: Command): any[];