import { Command } from 'commander' import mosaic from '../../infrastructure/mosaic/mosaicCreate' const program = new Command() program .name('create') .description('Create Mosaic and Announce Mosaic Transaction') .option('-o, --owner ', 'Specify the input of from Account', 'other') .option('-u, --url ', 'Specify the input of mijin URL') .option('-s, --supply ', 'Specify the input of Mosaic Supply', '1') .option('-d, --divisibility ', 'Specify the input of Mosaic divisibility', '0') .option('--supplymutable ', 'Specify the input of Mosaic Flags option supply Mutable', 'true') .option('--transferable ', 'Specify the input of Mosaic Flags option Transferable', 'true') .option('--restrictable ', 'Specify the input of Mosaic Flags option Restrictable', 'true') .option('--revokable ', 'Specify the input of Mosaic Flags option Revokable', 'false') .option('-r, --readfile ', 'Specify the input of Read Config File') .option('-p, --privatekey ', 'Specify the input of Mosaic Owener Account Private Key') .option('-b, --bod', 'Specify the input of mijin BOD mode(use Cookie)', false) .action(mosaic) export default program