@frontitude/cli
Version:
The Frontitude CLI enables product teams to integrate their code with Frontitude (frontitude.com), thus creating a single source of truth for their product copy, from design to development.
16 lines (15 loc) • 757 B
TypeScript
export declare const getSupportedFileTypes: () => string[];
export declare const getDataAndFileCombinedResult: (filePath: string, data: {
[key: string]: string;
}) => Promise<any>;
export declare const updateFileWithData: (filePath: string, data: {
[key: string]: string;
}, localeId: string, sourceData: {
[key: string]: string;
}, sourceLanguageLocaleId?: string) => Promise<{
added: number;
edited: number;
}>;
export declare const extendTextsPullOptions: (filePath: string, baseTextsPullOptions: TextsPullOptions) => TextsPullOptions;
export declare const getDryRunResult: (filePath: string, data: any) => Promise<any>;
export declare const formatTextsForOutputFileType: (filePath: string, data: any) => Promise<any>;