unity-i18n
Version:
i18n tool for unity game project
17 lines (16 loc) • 488 B
TypeScript
import { SpawnOptions } from "child_process";
interface CmdOption extends SpawnOptions {
silent?: boolean;
}
export interface ExecuteError {
code: number;
error?: Error;
}
export declare class Cmd {
private _output;
private resolved;
runNodeModule(moduleName: string, params?: string[], options?: CmdOption): Promise<number>;
run(command: string, params?: string[], options?: CmdOption): Promise<number>;
get output(): string;
}
export {};