askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
26 lines (25 loc) • 649 B
TypeScript
import { Command } from "commander";
/**
* Options for the add wallet command
*/
interface AddWalletOptions {
remote?: boolean;
url?: string;
nwc: string;
default?: boolean;
}
/**
* Execute the add wallet command
*
* @param name The name of the wallet to add
* @param options Command line options
* @param dbPath Path to the database file
*/
export declare function executeAddWalletCommand(name: string, options: AddWalletOptions): Promise<void>;
/**
* Register the add wallet command with the CLI
*
* @param program The commander program
*/
export declare function registerAddCommand(program: Command): void;
export {};