import { Command } from 'commander' import account from '../../infrastructure/account/accountGenerate' const program = new Command() program .name('generate') .description('Generate Account') .option('-u, --url ', 'Specify the input of mijin URL') .option('-n, --nodename ', 'Specify the input of node Name for CA', 'node') .option('-c, --certsdir ', 'Specify the input of Cert Directory(Output)') .option('-r, --readfile ', 'Specify the input of Read Config File') .option('-w, --writefile ', 'Specify the input of Write Config File') .option('-p, --privatekey ', 'Specify the input of Balance Account Private Key') .option('-a, --address ', 'Specify the input of Address') .option('-m, --message ', 'Specify the input of Transaction Message(Plain Only)') .option('-s, --service', 'Specify the input Service Mode', false) .option('-b, --bod', 'Specify the input of mijin BOD mode(use Cookie)', false) .action(account) export default program