UNPKG

askexperts

Version:

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

22 lines (21 loc) 566 B
import { Command } from "commander"; /** * Options for the switch user command */ interface SwitchUserOptions { debug?: boolean; } /** * Execute the switch user command * * @param pubkey Public key of the user to switch to * @param options Command line options */ export declare function executeSwitchUserCommand(pubkey: string, options: SwitchUserOptions): Promise<void>; /** * Register the switch user command with the CLI * * @param program The commander program */ export declare function registerSwitchCommand(program: Command): void; export {};