UNPKG

@nlabs/lex

Version:
18 lines (17 loc) 589 B
import { Command } from 'commander'; export interface AIOptions { readonly cliName?: string; readonly context?: boolean; readonly file?: string; readonly lexConfig?: string; readonly model?: string; readonly prompt?: string; readonly quiet?: boolean; readonly task?: 'generate' | 'explain' | 'test' | 'optimize' | 'help' | 'ask' | 'analyze'; readonly debug?: boolean; readonly provider?: string; readonly dir?: string; } export declare const aiFunction: (options: AIOptions) => Promise<any>; export declare const ai: Command; export default ai;