@junobuild/cli-tools
Version:
A collection of tools for Juno CLIs and Plugins.
15 lines (14 loc) • 480 B
TypeScript
export declare const spawn: ({ command, cwd, args, env, stdout, silentOut, silentErrors }: {
command: string;
cwd?: string;
args?: readonly string[];
env?: NodeJS.ProcessEnv;
stdout?: (output: string) => void;
silentOut?: boolean;
silentErrors?: boolean;
}) => Promise<number | null>;
export declare const execute: ({ command, args, env }: {
command: string;
args?: readonly string[];
env?: NodeJS.ProcessEnv;
}) => Promise<number | null>;