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