import { Command } from 'commander' import voting from '../../infrastructure/voting/votingCreate' const program = new Command() program .name('create') .description('Create Votingkey') .option('-u, --url ', 'Specify the input of mijin URL') .option('-r, --readfile ', 'Specify the input of Read Config File') .option('-s, --startepoch <72>', 'Specify the input of Voting Start Epoch') .option('-e, --endepoch <1>', 'Specify the input of Voting Stop Epoch') .option('-d, --savedir ', 'Specify the input of Save Voting Key Directory', 'current') .option('-p, --privatekey ', 'Specify the input of Voting Account Private Key') .action(voting) export default program