command: use register_commands for handlers