laconic-registry-cli/src/cmds/registry.ts
2024-03-18 19:50:04 +05:30

24 lines
561 B
TypeScript

import yargs from 'yargs';
export const command = 'registry';
export const desc = 'Registry 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('registry-cmds')
.demandCommand()
.help();
};