askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
23 lines (22 loc) • 685 B
TypeScript
import { Command } from "commander";
import { ExpertCommandOptions } from "./index.js";
/**
* Options for the run expert command
*/
interface RunExpertCommandOptions extends ExpertCommandOptions {
debug?: boolean;
}
/**
* Run an expert with the given identifier (nickname or pubkey)
*
* @param identifier Nickname or pubkey of the expert
* @param options Command options
*/
export declare function runExpert(identifier: string, options: RunExpertCommandOptions): Promise<void>;
/**
* Register the run expert command with the CLI
*
* @param program The commander program or parent command
*/
export declare function registerRunCommand(program: Command): void;
export {};