UNPKG

@vigilbase/cli

Version:

Vigilbase CLI — security scanners, agent tools, and Vigilbase One from the terminal.

17 lines (16 loc) • 632 B
import { createConfig } from './lib/config.js'; import { type ExitCode } from './types.js'; import { CLI_VERSION } from './version.js'; export { CLI_VERSION }; export type RunCliOptions = { argv?: string[]; /** Its `isTTY` decides between the banner and the bare version for `--version`. */ stdout?: NodeJS.WritableStream & { isTTY?: boolean; }; stderr?: NodeJS.WritableStream; stdin?: NodeJS.ReadableStream; env?: NodeJS.ProcessEnv; loginHandler?: (config: ReturnType<typeof createConfig>) => Promise<ExitCode>; }; export declare function runCli(options?: RunCliOptions): Promise<ExitCode>;