// SPDX-License-Identifier: Apache-2.0
import { BaseCommandTest } from './base-command-test.js';
import { KeysCommandDefinition } from '../../../../src/commands/command-definitions/keys-command-definition.js';
import { Flags } from '../../../../src/commands/flags.js';
export class KeysTest extends BaseCommandTest {
    static soloKeysConsensusGenerateArgv(testName, deployment) {
        const { newArgv, argvPushGlobalFlags, optionFromFlag } = KeysTest;
        const argv = newArgv();
        argv.push(KeysCommandDefinition.COMMAND_NAME, KeysCommandDefinition.CONSENSUS_SUBCOMMAND_NAME, KeysCommandDefinition.CONSENSUS_GENERATE, optionFromFlag(Flags.deployment), deployment, optionFromFlag(Flags.generateGossipKeys), 'true', optionFromFlag(Flags.generateTlsKeys));
        argvPushGlobalFlags(argv, testName, true);
        return argv;
    }
    static soloKeysConsensusGenerate(deployment, nodeAliasesUnparsed, cacheDirectory) {
        const { newArgv, optionFromFlag } = KeysTest;
        const argv = newArgv();
        argv.push(KeysCommandDefinition.COMMAND_NAME, KeysCommandDefinition.CONSENSUS_SUBCOMMAND_NAME, KeysCommandDefinition.CONSENSUS_GENERATE, optionFromFlag(Flags.deployment), deployment, optionFromFlag(Flags.generateGossipKeys), optionFromFlag(Flags.generateTlsKeys), optionFromFlag(Flags.nodeAliasesUnparsed), nodeAliasesUnparsed, optionFromFlag(Flags.cacheDir), cacheDirectory);
        return argv;
    }
}
//# sourceMappingURL=keys-test.js.map