import { Command } from 'commander' import transfer from '../../infrastructure/transaction/transfer' const program = new Command() program .name('transfer') .description('Announce Transfer Transaction') .option('-u, --url ', 'Specify the input of mijin URL') .option('-f --from ', 'Specify the input of from Account') .option('-d --dest ', 'Specify the input of to Destination Address') .option('-m --mosaic ', 'Specify the input of Mosaic Id', 'cat.currency') .option('-a --amount ', 'Specify the input of transaction type', '0') .option('-r, --readfile ', 'Specify the input of Read Config File', 'config.json') .option('-b, --bod', 'Specify the input of mijin BOD mode(use Cookie)', false) .action(transfer) export default program