code: def list(ctx):
      
      if ctx.namespace != 'accounts':
          click.echo(
              click.style('Only account data is available for listing.', fg='red')
          )
          return
  
      swag = create_swag_from_ctx(ctx)
      accounts = swag.get_all()
      _table = [[result['name'], result.get('id')] for result in accounts]
      click.echo(
          tabulate(_table, headers=["Account Name", "Account Number"])
      )
docs: List SWAG account info.