woaru
Version:
Universal Project Setup Autopilot - Analyze and automatically configure development tools for ANY programming language
40 lines • 1.03 kB
TypeScript
import { Command } from 'commander';
/**
* Extended Command class with i18n support for Just-in-Time translation
*/
export declare class I18nCommand extends Command {
private i18nKeys;
/**
* Set i18n translation keys for this command
*/
setI18nKeys(keys: {
description?: string;
purpose?: string;
helpText?: string;
}): this;
/**
* Get the translated description
*/
getTranslatedDescription(): string;
/**
* Get the translated purpose
*/
getTranslatedPurpose(): string;
/**
* Get the translated help text
*/
getTranslatedHelpText(): string;
/**
* Get all i18n keys for this command
*/
getI18nKeys(): typeof this.i18nKeys;
/**
* Override createCommand to return I18nCommand instances
*/
createCommand(name?: string): I18nCommand;
}
/**
* Create a new i18n-enabled command
*/
export declare function createI18nCommand(name?: string): I18nCommand;
//# sourceMappingURL=I18nCommand.d.ts.map