10 lines
619 B
TypeScript
10 lines
619 B
TypeScript
import { ExecFileSyncOptions } from 'child_process';
|
|
export declare function openssl(args: string[]): string | Buffer;
|
|
export declare function run(cmd: string, args: string[], options?: ExecFileSyncOptions): string | Buffer;
|
|
export declare function sudoAppend(file: string, input: ExecFileSyncOptions["input"]): void;
|
|
export declare function waitForUser(): Promise<unknown>;
|
|
export declare function reportableError(message: string): Error;
|
|
export declare function mktmp(): string;
|
|
export declare function sudo(cmd: string): Promise<string | null>;
|
|
export declare function commandExists(command: string): string | null;
|