askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
15 lines (14 loc) • 584 B
TypeScript
import { Command } from "commander";
import { DocstoreCommandOptions } from "./index.js";
/**
* List all documents in a docstore
* @param id Docstore ID
* @param options Command options
*/
export declare function listDocs(id: string | undefined, options: DocstoreCommandOptions): Promise<void>;
/**
* Register the list-docs command
* @param docstoreCommand The parent docstore command
* @param addPathOption Function to add path option to command
*/
export declare function registerListDocsCommand(docstoreCommand: Command, addCommonOptions: (cmd: Command) => Command): void;