UNPKG

@hashgraph/solo

Version:

An opinionated CLI tool to deploy and manage private Hedera Networks.

22 lines (21 loc) 613 B
import { type SoloListrTaskWrapper } from './index.js'; export type PromptFunction = (task: SoloListrTaskWrapper<any>, input: any, data?: any) => Promise<any>; export interface CommandFlag { constName: string; name: string; definition: Definition; prompt: PromptFunction; validate?: (input: any) => boolean; } export interface Definition { describe: string; defaultValue?: boolean | string | number; alias?: string; type?: string; disablePrompt?: boolean; dataMask?: string; } export interface CommandFlags { required: CommandFlag[]; optional: CommandFlag[]; }