aws-cdk
Version:
AWS CDK CLI, the command line tool for CDK apps
10 lines (9 loc) • 372 B
TypeScript
/**
* Detect unrecognized CLI options.
*
* Yargs does not enable strict option checking by default, so unknown flags
* are silently swallowed. This function compares the parsed argv keys against
* the known global and command options from the CLI type registry and returns
* any that don't match.
*/
export declare function findUnknownOptions(argv: any): string[];