register command.