@vigilbase/cli
Version:
Vigilbase CLI — security scanners, agent tools, and Vigilbase One from the terminal.
29 lines (28 loc) • 1.09 kB
TypeScript
/**
* Compact Vigilbase flare mark + wordmark for human CLI surfaces.
* Static strings only — no I/O, no deps, skipped entirely in --json mode.
*/
/**
* Compact square Vigilbase flare (inverted V).
* Left wing (full block) = terminal default fg; right wing (medium shade) = brand yellow.
*/
/** Compact flare used on help/version (keeps the first viewport short). */
export declare const VIGILBASE_ASCII_MARK: string;
export type BannerOptions = {
/** Include version line under the mark. */
version?: string;
/** One-line tagline. */
tagline?: string;
/** Force ANSI on/off. Default: auto from TTY + env. */
useColor?: boolean;
};
export declare function shouldUseColor(stream: {
isTTY?: boolean;
} | undefined, env?: NodeJS.ProcessEnv): boolean;
export declare function shouldShowBanner(mode?: 'text' | 'json', env?: NodeJS.ProcessEnv): boolean;
/**
* Banner composition (flare + wordmark + tagline).
*/
export declare function renderBanner(options?: BannerOptions, stream?: {
isTTY?: boolean;
} | undefined, env?: NodeJS.ProcessEnv): string;