docs: def update_history(cloud_hero):
      """
      Send each command to the /history endpoint.
      """
      user_command = ' '.join(sys.argv)
      timestamp = int(time.time())
      command = (user_command, timestamp)
      cloud_hero.send_history([command])