// SPDX-License-Identifier: Apache-2.0
import { BaseCommandTest } from './base-command-test.js';
import { ConsensusCommandDefinition } from '../../../../src/commands/command-definitions/consensus-command-definition.js';
import { Flags } from '../../../../src/commands/flags.js';
export class NodeDestroyTest extends BaseCommandTest {
    static soloNodeDeletePrepareArgv(deployment, outputDirectory, nodeAlias) {
        const { newArgv, optionFromFlag } = NodeDestroyTest;
        const argv = newArgv();
        argv.push(ConsensusCommandDefinition.COMMAND_NAME, ConsensusCommandDefinition.DEV_NODE_DELETE_SUBCOMMAND_NAME, ConsensusCommandDefinition.DEV_NODE_PREPARE, optionFromFlag(Flags.outputDir), outputDirectory, optionFromFlag(Flags.deployment), deployment, optionFromFlag(Flags.nodeAlias), nodeAlias);
        return argv;
    }
    static soloNodeDeleteSubmitArgv(deployment, inputDirectory, nodeAlias) {
        const { newArgv, optionFromFlag } = NodeDestroyTest;
        const argv = newArgv();
        argv.push(ConsensusCommandDefinition.COMMAND_NAME, ConsensusCommandDefinition.DEV_NODE_DELETE_SUBCOMMAND_NAME, ConsensusCommandDefinition.DEV_NODE_SUBMIT_TRANSACTION, optionFromFlag(Flags.inputDir), inputDirectory, optionFromFlag(Flags.deployment), deployment, optionFromFlag(Flags.nodeAlias), nodeAlias);
        return argv;
    }
    static soloNodeDeleteExecuteArgv(deployment, inputDirectory, nodeAlias, cacheDirectory) {
        const { newArgv, optionFromFlag } = NodeDestroyTest;
        const argv = newArgv();
        argv.push(ConsensusCommandDefinition.COMMAND_NAME, ConsensusCommandDefinition.DEV_NODE_DELETE_SUBCOMMAND_NAME, ConsensusCommandDefinition.DEV_NODE_EXECUTE, optionFromFlag(Flags.inputDir), inputDirectory, optionFromFlag(Flags.deployment), deployment, optionFromFlag(Flags.nodeAlias), nodeAlias, optionFromFlag(Flags.cacheDir), cacheDirectory);
        return argv;
    }
}
//# sourceMappingURL=node-destroy-test.js.map