askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
23 lines (22 loc) • 559 B
TypeScript
import { Command } from "commander";
/**
* Common options for expert commands
*/
export interface ExpertCommandOptions {
remote?: boolean;
url?: string;
[key: string]: any;
}
/**
* Add remote options to a command
*
* @param cmd The command to add options to
* @returns The command with options added
*/
export declare function addRemoteOptions(cmd: Command): Command;
/**
* Register the expert command group with the CLI
*
* @param program The commander program
*/
export declare function registerExpertCommand(program: Command): void;