@codingtools/cdt
Version:
CLI for Developers
11 lines (10 loc) • 623 B
TypeScript
import { Command } from '@oclif/command';
export default class Utilities {
static getStringFromFile(thisRef: Command, filePath: string): string;
static getJsonObjectFromFile(thisRef: Command, filePath: string): any;
static getInputString(thisRef: Command, flags: any, args: any): any;
static getInputStringFromCmd(thisRef: Command, flags: any, args: any): any;
static writeStringToFile(thisRef: Command, filePath: string, string: string): void;
static appendStringToFile(thisRef: Command, filePath: string, string: string): void;
static truncateFile(thisRef: Command, filePath: string): void;
}