UNPKG

@hashgraph/solo

Version:

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

23 lines (22 loc) 1.08 kB
import { type ClusterCommandTasks } from './tasks.js'; import { CommandHandler } from '../../core/command-handler.js'; import { type ClusterCommandConfigs } from './configs.js'; import { type ArgvStruct } from '../../types/aliases.js'; import { LocalConfigRuntimeState } from '../../business/runtime-state/config/local/local-config-runtime-state.js'; export declare class ClusterCommandHandlers extends CommandHandler { private readonly tasks; private readonly localConfig; private readonly configs; constructor(tasks: ClusterCommandTasks, localConfig: LocalConfigRuntimeState, configs: ClusterCommandConfigs); /** * - Setup home directory. * - Create new local config if needed. * - Add new 'cluster-ref => context' mapping in the local config. */ connect(argv: ArgvStruct): Promise<boolean>; disconnect(argv: ArgvStruct): Promise<boolean>; list(argv: ArgvStruct): Promise<boolean>; info(argv: ArgvStruct): Promise<boolean>; setup(argv: ArgvStruct): Promise<boolean>; reset(argv: ArgvStruct): Promise<boolean>; }