Get

Get all countries in the system. Login is required — countries get sends an authenticated NATS request so the service can scope results to the logged-in tenant.

countries get
exit
printf 'countries get\nexit\n' | ./compass.sh shell 2>&1 | head -25

Login credentials default to ORES_SHELL_LOGIN_USERNAME=/=ORES_SHELL_LOGIN_PASSWORD from .env (Acme Corporation's tenant_admin — see How do I manage the checkout environment with compass?) when -u=/-p= are omitted; pass them explicitly to use a different account.

✓ Connected to nats://localhost:20405
✓ Logged in as: tenant_admin
  Tenant:  (a7fcf7a6-02f7-45c5-8081-5e554cdf84bb)
ORE Studio Shell REPL v0.0.24
Type 'help' for available commands, 'exit' to quit.

ores-shell>
+--------------+--------------+--------------+------------------------+---------------------------------+-----------------------------------+---------+
| Alpha-2 Code | Alpha-3 Code | Numeric Code | Name                   | Official Name                   | Modified By                       | Version |
+--------------+--------------+--------------+------------------------+---------------------------------+-----------------------------------+---------+
| AD           | AND          | 020          | Andorra                | Principality of Andorra         | ores_brave_hopper_refdata_service | 1       |
| AE           | ARE          | 784          | United Arab Emirates   | United Arab Emirates            | ores_brave_hopper_refdata_service | 1       |
| AF           | AFG          | 004          | Afghanistan            | Islamic Republic of Afghanistan | ores_brave_hopper_refdata_service | 1       |
| AG           | ATG          | 028          | Antigua and Barbuda    | Antigua and Barbuda             | ores_brave_hopper_refdata_service | 1       |
| AI           | AIA          | 660          | Anguilla               | Anguilla                        | ores_brave_hopper_refdata_service | 1       |
| AL           | ALB          | 008          | Albania                | Republic of Albania             | ores_brave_hopper_refdata_service | 1       |
| AM           | ARM          | 051          | Armenia                | Republic of Armenia             | ores_brave_hopper_refdata_service | 1       |
| AO           | AGO          | 024          | Angola                 | Republic of Angola              | ores_brave_hopper_refdata_service | 1       |
| AQ           | ATA          | 010          | Antarctica             | Antarctica                      | ores_brave_hopper_refdata_service | 1       |
| AR           | ARG          | 032          | Argentina              | Argentine Republic              | ores_brave_hopper_refdata_service | 1       |
| AS           | ASM          | 016          | American Samoa         | American Samoa                  | ores_brave_hopper_refdata_service | 1       |
| AT           | AUT          | 040          | Austria                | Republic of Austria             | ores_brave_hopper_refdata_service | 1       |
| AU           | AUS          | 036          | Australia              | Commonwealth of Australia       | ores_brave_hopper_refdata_service | 1       |
| AW           | ABW          | 533          | Aruba                  | Aruba                           | ores_brave_hopper_refdata_service | 1       |
| AX           | ALA          | 248          | Åland Islands         | Åland Islands                  | ores_brave_hopper_refdata_service | 1       |
| AZ           | AZE          | 031          | Azerbaijan             | Republic of Azerbaijan          | ores_brave_hopper_refdata_service | 1       |

Emacs 29.3 (Org mode 9.6.15)