scaffold-scripts
Version:
Simple CLI tool for managing and running your own scripts. Add any script, run it anywhere.
63 lines • 1.74 kB
TypeScript
export declare class UsageHelper {
/**
* Display comprehensive help for the scaffold CLI
*/
static displayMainHelp(): void;
/**
* Display usage for all commands and their aliases
*/
static displayCommandUsage(): void;
/**
* Display specific command help
*/
static displayCommandHelp(commandName: string): void;
/**
* Display examples section
*/
static displayExamples(): void;
/**
* Display error with suggested usage
*/
static displayError(error: string, suggestion?: string): void;
/**
* Display add command help
*/
static displayAddHelp(): void;
/**
* Display list command help
*/
static displayListHelp(): void;
/**
* Display remove command help
*/
static displayRemoveHelp(): void;
/**
* Display update command help
*/
static displayUpdateHelp(): void;
/**
* Display view command help
*/
static displayViewHelp(): void;
/**
* Display export command help
*/
static displayExportHelp(): void;
/**
* Display script not found error with suggestions
*/
static displayScriptNotFound(scriptName: string, availableScripts: string[]): void;
/**
* Find similar script names using basic string similarity
*/
static findSimilarScripts(target: string, scripts: string[]): string[];
/**
* Calculate string similarity (simple implementation)
*/
static calculateSimilarity(str1: string, str2: string): number;
/**
* Calculate Levenshtein distance between two strings
*/
static levenshteinDistance(str1: string, str2: string): number;
}
//# sourceMappingURL=usageHelper.d.ts.map