import yargs from 'yargs'; export const command = 'cns'; export const desc = 'CNS tools'; exports.builder = (yargs: yargs.Argv) => { return yargs .options({ 'user-key': { type: 'string' }, 'tx-key': { type: 'string' }, 'bond-id': { type: 'string' }, 'chain-id': { type: 'string' }, 'filename': { alias: 'f' }, 'id': { type: 'string' }, 'address': { type: 'string' }, 'gas': { type: 'string' }, 'fees': { type: 'string' } }) .commandDir('cns-cmds') .demandCommand() .help() }