Adding subcommand to rpc