UNPKG

askexperts

Version:

AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol

15 lines (14 loc) 570 B
import { Command } from "commander"; import { DocstoreCommandOptions } from "./index.js"; /** * Count documents in a docstore * @param id ID of the docstore * @param options Command options */ export declare function countDocs(id: string, options: DocstoreCommandOptions): Promise<void>; /** * Register the count command * @param docstoreCommand The parent docstore command * @param addPathOption Function to add path option to command */ export declare function registerCountCommand(docstoreCommand: Command, addCommonOptions: (cmd: Command) => Command): void;