@enclaved/encli
Version:
CLI utilities for working with enclaved application server for TEEs
30 lines (29 loc) • 730 B
TypeScript
/**
* Wallet Invoice command implementation
*/
import { Command } from "commander";
/**
* Run the invoice command
* @param options Command options
* @returns Result of the invoice operation
*/
export declare function runInvoiceCommand(options: {
name?: string;
amount: number;
description?: string;
description_hash?: string;
expiry?: number;
}): Promise<{
success: boolean;
name: any;
invoice: any;
amount: number;
description: string;
descriptionHash: string | undefined;
expiry: number | undefined;
}>;
/**
* Register the invoice command with the CLI
* @param program Commander program instance
*/
export declare function registerInvoiceCommand(program: Command): void;