niledatabase
Version:
Command line interface for Nile databases
35 lines (34 loc) • 926 B
TypeScript
import chalk from 'chalk';
export declare const theme: {
primary: chalk.Chalk;
success: chalk.Chalk;
warning: chalk.Chalk;
error: chalk.Chalk;
info: chalk.Chalk;
secondary: chalk.Chalk;
highlight: chalk.Chalk;
accent: chalk.Chalk;
command: chalk.Chalk;
param: chalk.Chalk;
url: chalk.Chalk;
header: chalk.Chalk;
border: chalk.Chalk;
dim: chalk.Chalk;
bold: chalk.Chalk;
underline: chalk.Chalk;
active: chalk.Chalk;
inactive: chalk.Chalk;
pending: chalk.Chalk;
};
export declare const table: {
topLeft: string;
topRight: string;
bottomLeft: string;
bottomRight: string;
vertical: string;
horizontal: string;
cross: string;
};
export declare function formatCommand(command: string, args?: string): string;
export declare function formatUrl(url: string): string;
export declare function formatStatus(status: string): string;