code: def endpoint(ctx, config, verbose):
      
      if ctx.invoked_subcommand is None:
          # TODO default_endpoint = config.get('core', {}).get('default')
          for endpoint, values in config.get('endpoints', {}).items():
              # TODO is_default = default_endpoint == endpoint
              if not verbose:
                  click.echo(endpoint)
              else:
                  click.echo(
                      '{endpoint}\t{url}'.format(
                          endpoint=endpoint, url=values.get('url', '')
                      )
                  )
docs: Manage set of platform API endpoints.