API/api.medcify.app/node_modules/snyk/dist/cli/args.d.ts

18 lines
571 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
/// <reference types="node" />
import { MethodResult } from './commands/types';
export declare interface Global extends NodeJS.Global {
ignoreUnknownCA: boolean;
}
export declare type MethodArgs = Array<string | ArgsOptions>;
export interface Args {
command: string;
method: (...args: MethodArgs) => Promise<MethodResult>;
options: ArgsOptions;
}
export interface ArgsOptions {
_doubleDashArgs: string[];
_: MethodArgs;
[key: string]: boolean | string | number | MethodArgs | string[];
}
export declare function args(rawArgv: string[]): Args;