@codingtools/cdt
Version:
CLI for Developers
25 lines (24 loc) • 723 B
TypeScript
import { Command, flags } from '@oclif/command';
export default class Minify extends Command {
static description: string;
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
type: flags.IOptionFlag<string | undefined>;
file: flags.IOptionFlag<string | undefined>;
output: flags.IOptionFlag<string | undefined>;
};
static args: {
name: string;
}[];
static JS: string;
static HTML: string;
static CSS: string;
run(): Promise<void>;
private evalJs;
private getFileType;
private getFileTypeFromExtension;
private getFileString;
private getFilePath;
private checkParameters;
private minifyString;
}