@codingtools/cdt
Version:
CLI for Developers
20 lines (19 loc) • 567 B
TypeScript
import { Command, flags } from '@oclif/command';
export default class View extends Command {
static description: string;
static DEFAULT_COUNT: number;
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
file: flags.IOptionFlag<string | undefined>;
num: flags.IOptionFlag<string | undefined>;
};
static args: {
name: string;
}[];
run(): Promise<void>;
private getFilePath;
private getFileLinesToShow;
private checkParameters;
private showFile;
private printRow;
}