@nfps.dev/cli
Version:
CLI for NFP development, inspection, and manipulation
12 lines • 384 B
JavaScript
import { define_command, load, print, result } from '../common.js';
export const H_CMDS_WHOAMI = {
whoami: define_command({
info: 'prints account address',
async handler(g_argv) {
const { k_wallet, } = await load(g_argv);
print('Account address:');
result(k_wallet.addr);
},
}),
};
//# sourceMappingURL=whoami.js.map