@codingtools/cdt
Version:
CLI for Developers
22 lines (21 loc) • 637 B
TypeScript
import { Command, flags } from '@oclif/command';
export default class Bundlephobia extends Command {
static description: string;
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
packages: flags.IOptionFlag<string[]>;
file: flags.IOptionFlag<string | undefined>;
};
static args: {
name: string;
}[];
private static getSize;
run(): Promise<void>;
private getErrorMessage;
private getPackages;
private checkParameters;
private bundlePhobia;
private getFinalMessage;
private getSuccessMessage;
private convertObjectToArray;
}