@naturalcycles/ktlint
Version:
ktlint, conveniently published to npm registry
7 lines (6 loc) • 297 B
TypeScript
import type { SpawnOptions } from 'node:child_process';
export declare function runCommand(command: string, args?: string[], opt?: SpawnOptions): void;
/**
* Throws error on failure.
*/
export declare function runCommandSafe(command: string, args?: string[], opt?: SpawnOptions): Promise<void>;