UNPKG

@enclaved/encli

Version:

CLI utilities for working with enclaved application server for TEEs

28 lines (27 loc) 648 B
/** * Wallet Pay command implementation */ import { Command } from "commander"; /** * Run the pay command * @param options Command options * @returns Result of the pay operation */ export declare function runPayCommand(options: { name?: string; invoice?: string; address?: string; amount?: number; description?: string; }): Promise<{ success: boolean; name: any; invoice: string | undefined; preimage: any; address: string | undefined; }>; /** * Register the pay command with the CLI * @param program Commander program instance */ export declare function registerPayCommand(program: Command): void;