@pitifulhawk/flash-up
Version:
Interactive project scaffolder for modern web applications
19 lines • 860 B
TypeScript
import { CommandResult } from "../types/index.js";
export declare function executeCommand(command: string, args?: string[], options?: {
cwd?: string;
stdio?: "inherit" | "pipe";
timeout?: number;
}): Promise<CommandResult>;
export declare function executeCommandWithOutput(command: string, args?: string[], cwd?: string): Promise<CommandResult>;
export declare function commandExists(command: string): Promise<boolean>;
export declare function getCommandVersion(command: string, versionFlag?: string): Promise<string | null>;
export declare function parseCommand(commandString: string): {
command: string;
args: string[];
};
export declare function executeCommandString(commandString: string, options?: {
cwd?: string;
stdio?: "inherit" | "pipe";
timeout?: number;
}): Promise<CommandResult>;
//# sourceMappingURL=shell.d.ts.map