docs: def version_list(package):
      """
      List the versions of a package.
      """
      team, owner, pkg = parse_package(package)
      session = _get_session(team)
  
      response = session.get(
          "{url}/api/version/{owner}/{pkg}/".format(
              url=get_registry_url(team),
              owner=owner,
              pkg=pkg
          )
      )
  
      for version in response.json()['versions']:
          print("%s: %s" % (version['version'], version['hash']))