UNPKG

dscaffold

Version:

A TypeScript framework for scaffolding modular Discord bot projects with dynamic command and event loading

21 lines 1.09 kB
import ora from 'ora'; export declare class Logger { static info(message: string): void; static success(message: string): void; static warning(message: string): void; static error(message: string): void; static spinner(text: string): ora.Ora; } export declare function capitalize(str: string): string; export declare function toCamelCase(str: string): string; export declare function toPascalCase(str: string): string; export declare function toKebabCase(str: string): string; export declare function ensureDir(dirPath: string): Promise<void>; export declare function copyTemplate(templatePath: string, targetPath: string): Promise<void>; export declare function writeFile(filePath: string, content: string): Promise<void>; export declare function readFile(filePath: string): Promise<string>; export declare function pathExists(path: string): Promise<boolean>; export declare function validateProjectName(name: string): boolean; export declare function getTemplatesDir(): string; export declare function getCurrentWorkingDir(): string; //# sourceMappingURL=index.d.ts.map