niledatabase
Version:
Command line interface for Nile databases
17 lines (16 loc) • 544 B
TypeScript
import { Command } from 'commander';
export interface GlobalOptions {
apiKey?: string;
format?: 'human' | 'json' | 'csv';
color?: boolean;
debug?: boolean;
dbHost?: string;
globalHost?: string;
authUrl?: string;
workspace?: string;
db?: string;
}
export declare function updateChalkConfig(color: boolean): void;
export declare function addGlobalOptions(program: Command): Command;
export declare function getGlobalOptions(cmd: Command): GlobalOptions;
export declare function getGlobalOptionsHelp(): string;