code: def list_service(ctx, name):
      
      swag = create_swag_from_ctx(ctx)
      accounts = swag.get_service_enabled(name)
  
      _table = [[result['name'], result.get('id')] for result in accounts]
      click.echo(
          tabulate(_table, headers=["Account Name", "Account Number"])
      )
docs: Retrieve accounts pertaining to named service.