ORE Studio Shell Recipes
Demonstrates all of the functionality available on the ORE Studio Comms Shell Component.
Recipes
General
Help
./ores.comms.shell ${log_args} --help
ORE Studio Shell is an interactive REPL for ORE Studio.
It provides a command-line interface for connecting to and interacting with ores.comms.service.
Usage: ores.shell [options]
General:
-h [ --help ] Display usage and exit.
-v [ --version ] Output version information and exit.
Logging:
-e [ --log-enabled ] Generate a log file.
-l [ --log-level ] arg (=info) What level to use for logging. Valid
values: trace, debug, info, warn,
error.
--log-to-console Output logging to the console, as well
as to file.
--log-directory arg (=log) Where to place the log files.
--log-filename arg (=ores.shell.log) Name of the log file.
Telemetry:
--telemetry-enabled Enable telemetry export. When enabled,
all log records are exported to a JSON
Lines file for log aggregation.
--telemetry-service-name arg (=ores-shell)
Name of the service producing
telemetry. Used as service.name in
resource attributes.
--telemetry-service-version arg (=0.0.8)
Version of the service producing
telemetry. Used as service.version in
resource attributes.
--telemetry-output-file arg (=telemetry.jsonl)
Name of the telemetry output file (JSON
Lines format).
--telemetry-output-directory arg (=log)
Directory in which to place the
telemetry output file.
--telemetry-streaming-enabled Enable streaming of log records to the
server. When enabled, log records are
batched and sent to the connected
server.
--telemetry-batch-size arg (=50) Number of records to batch before
sending to the server.
--telemetry-flush-interval arg (=5) Maximum seconds to wait before flushing
a partial batch.
Connection:
--connect-host arg Host to connect to (e.g., localhost)
--connect-port arg Port to connect to (e.g., 55555)
--connect-identifier arg Client identifier to use when
connecting
Login:
--login-username arg Username for authentication
--login-password arg Password for authentication
Version
./ores.comms.shell ${log_args} --version
Client for ORE Studio v0.0.8 Copyright (C) 2025 Marco Craveiro. License GPLv3: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Build: Provider = LOCAL IMPORTANT: build details are NOT for security purposes.
Help Menu
./ores.comms.shell ${log_args} << 'EOF'
help
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> Commands available: - help This help message - exit Quit the session - history Show the history - ! <history entry index> Exec a command by index in the history - connect <string> <string> <string> Connect to server (optional: host port identifier) - disconnect Disconnect from server - currencies (menu) - accounts (menu) - bootstrap <string> <string> <string> Create initial admin account (username password email) - only works in bootstrap mode - login <string> <string> Login with username and password (alias for 'accounts login') - logout Logout the current user (alias for 'accounts logout') - variability (menu) - compression <string> <string> Set compression: 'compression off', 'compression on', 'compression on <algo>' (zlib/gzip/bzip2) - compression Show current compression setting - events (menu) - permissions (menu) - roles (menu) ores-shell> Bye!
Connectivity
Functionality related to connectivity such as connect to server, etc.
Auto connect
./ores.comms.shell ${log_args} ${connect_args} << 'EOF'
exit
EOF
✓ Connected to :51004 ⚠ WARNING: System is in BOOTSTRAP MODE System in BOOTSTRAP MODE - awaiting initial admin account creation Use 'bootstrap <username> <password> <email>' to create the initial admin account. ORE Studio Shell REPL v0.0.10 Type 'help' for available commands, 'exit' to quit. ores-shell> Bye!
Basic connect
./ores.comms.shell ${log_args} << 'EOF'
connect localhost 51004 test
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Connected to :51004 ⚠ WARNING: System is in BOOTSTRAP MODE System in BOOTSTRAP MODE - awaiting initial admin account creation ores-shell> Bye!
Auto login
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> Bye!
Login logout
./ores.comms.shell ${log_args} << 'EOF'
connect localhost 51004 test
login newuser3 Secure-Password-123
logout
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Connected to :51004 ores-shell> ✓ Login successful! ores-shell> ✓ Logged out successfully. ores-shell> Bye!
Accounts
Functionality related to the accounts domain entity in ORE Studio Accounts Component.
Help Menu
./ores.comms.shell ${log_args} << 'EOF'
currencies
help
exit
EOF
ORE Studio Shell REPL v0.0.10 Type 'help' for available commands, 'exit' to quit. ores-shell> currencies> Commands available: - help This help message - exit Quit the session - history Show the history - ! <history entry index> Exec a command by index in the history - get Retrieve all currencies from the server - add <string> <string> <string> <string> <string> <string> <string> Add a currency (iso_code name numeric_code symbol fractions reason_code "commentary") - delete <string> Delete a currency by ISO code - history <string> Get version history for a currency by ISO code - ores-shell (menu) currencies> Bye!
Bootstrap
Create the initial admin account.
./ores.comms.shell ${log_args} ${connect_args} << 'EOF'
bootstrap newuser3 Secure-Password-123 newuser3@test.com
exit
EOF
✓ Connected to :52004 ORE Studio Shell REPL v0.0.10 Type 'help' for available commands, 'exit' to quit. ores-shell> ✗ Operation not allowed - system is not in bootstrap mode ores-shell> Bye!
Login
Explicit login is discouraged as it saves your credentials to the history. Instead, consider using Auto login.
./ores.comms.shell ${log_args} ${connect_args} << 'EOF'
accounts login newuser3 Secure-Password-123
exit
EOF
✓ Connected to :51004 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Login successful! ores-shell> Bye!
Logout
Explicit logout.
./ores.comms.shell ${log_args} ${connect_args} << 'EOF'
accounts login newuser3 Secure-Password-123
accounts logout
exit
EOF
✓ Connected to :51004 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Login successful! ores-shell> ✓ Logged out successfully. ores-shell> Bye!
Create
Creates new user accounts.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' accounts create newuser40 Secure-Password-123 567 newuser40@example.com accounts create newuser41 Secure-Password-123 567 newuser41@example.com exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Account created with ID: 019baed4-fb93-74e1-b143-3677befb0c19 ores-shell> ✓ Account created with ID: 019baed4-fc08-71a3-b9a3-7c75ae40d6d8 ores-shell> Bye!
List
Lists existing accounts.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' accounts list exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +--------------------------------------+-----------+-----------------------+-------------+-------------------------------+---------+ | ID (UUID) | Username | Email | Recorded By | Recorded At | Version | +--------------------------------------+-----------+-----------------------+-------------+-------------------------------+---------+ | 019bae63-e9cd-7e8b-a378-2e0ca0d48610 | newuser41 | newuser41@example.com | ores | 2026-01-11 18:49:02.000000000 | 1 | | 019bae63-e953-727c-bb2c-e765d462f1f0 | newuser40 | newuser40@example.com | ores | 2026-01-11 18:49:02.000000000 | 1 | | 019ba3a0-48bb-7924-96ae-686f0883cc9c | newuser3 | newuser3@test.com | bootstrap | 2026-01-09 16:39:09.000000000 | 1 | +--------------------------------------+-----------+-----------------------+-------------+-------------------------------+---------+ ores-shell> Bye!
List Login Info
Lists login information.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' accounts list-logins exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +--------------------------------------+-----------+-----------------+--------+--------+--------+---------------------+ | Account ID | Last IP | Last Attempt IP | Failed | Locked | Online | Last Login | +--------------------------------------+-----------+-----------------+--------+--------+--------+---------------------+ | 019bae63-e953-727c-bb2c-e765d462f1f0 | 0.0.0.0 | 0.0.0.0 | 0 | N | N | 1970-01-01 00:00:00 | | 019bae63-e9cd-7e8b-a378-2e0ca0d48610 | 0.0.0.0 | 0.0.0.0 | 0 | N | N | 1970-01-01 00:00:00 | | 019ba3a0-48bb-7924-96ae-686f0883cc9c | 127.0.0.1 | 127.0.0.1 | 0 | N | Y | 2026-01-11 18:49:28 | +--------------------------------------+-----------+-----------------+--------+--------+--------+---------------------+ ores-shell> Bye!
Lock
Lock an account to prevent login.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' accounts lock 019bae63-e9cd-7e8b-a378-2e0ca0d48610 exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Account locked successfully! Account ID: 019bae63-e9cd-7e8b-a378-2e0ca0d48610 ores-shell> Bye!
Unlock
Unlock a previously locked account.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' accounts unlock 019bae63-e9cd-7e8b-a378-2e0ca0d48610 exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Account unlocked successfully! Account ID: 019bae63-e9cd-7e8b-a378-2e0ca0d48610 ores-shell> Bye!
Account Roles
List roles assigned to an account.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' accounts roles 019bae63-e9cd-7e8b-a378-2e0ca0d48610 exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> Roles for Account: 019bae63-e9cd-7e8b-a378-2e0ca0d48610 +--------------------------------------+--------+------------------------------------------------+-----------------------------+-------------+---------+ | ID (UUID) | Name | Description | Permissions | Recorded By | Version | +--------------------------------------+--------+------------------------------------------------+-----------------------------+-------------+---------+ | 0810cd81-1d89-455f-9eb7-90e126c4a241 | Viewer | Viewer - basic read-only access to domain data | currencies:read, flags:read | system | 1 | +--------------------------------------+--------+------------------------------------------------+-----------------------------+-------------+---------+ ores-shell> Bye!
Account Permissions
List effective permissions for an account.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' accounts permissions 019bae63-e9cd-7e8b-a378-2e0ca0d48610 exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> Effective Permissions for Account: 019bae63-e9cd-7e8b-a378-2e0ca0d48610 ======================================================================= - currencies:read - flags:read Total: 2 item(s) ores-shell> Bye!
Assign Role
Assign a role to an account.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' roles list accounts assign-role 019bae63-e9cd-7e8b-a378-2e0ca0d48610 82f4dda0-32c4-4cf2-9da8-ddb8bd7e982b exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +--------------------------------------+------------+---------------------------------------------------------------+---------------------------------------------------------------+-------------+---------+ | ID (UUID) | Name | Description | Permissions | Recorded By | Version | +--------------------------------------+------------+---------------------------------------------------------------+---------------------------------------------------------------+-------------+---------+ | f60d8103-0283-4d46-aa4c-aa6bb50934d9 | Admin | Full administrative access to all system functions | * | system | 1 | | d6ac9d9f-91c3-40d2-998d-0e18604a8687 | Operations | Operations - currency management and account viewing | accounts:read, currencies:create, currencies:delete (+4 more) | system | 1 | | 82f4dda0-32c4-4cf2-9da8-ddb8bd7e982b | Sales | Sales operations - read-only currency access | currencies:read, flags:read | system | 1 | | 1bc4ce25-7f72-4ac1-b42a-6c11dd350906 | Support | Support - read-only access to all resources and admin screens | accounts:read, currencies:history, currencies:read (+3 more) | system | 1 | | a6eb024f-0c0c-4e0e-93a4-8fb5df41b2e2 | Trading | Trading operations - currency read access | currencies:history, currencies:read, flags:read | system | 1 | | 0810cd81-1d89-455f-9eb7-90e126c4a241 | Viewer | Viewer - basic read-only access to domain data | currencies:read, flags:read | system | 1 | +--------------------------------------+------------+---------------------------------------------------------------+---------------------------------------------------------------+-------------+---------+ ores-shell> V Role assigned successfully! Account ID: 019bae63-e9cd-7e8b-a378-2e0ca0d48610 Role ID: 82f4dda0-32c4-4cf2-9da8-ddb8bd7e982b ores-shell> Bye!
Revoke Role
Revoke a role from an account.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' accounts revoke-role 019bae63-e9cd-7e8b-a378-2e0ca0d48610 82f4dda0-32c4-4cf2-9da8-ddb8bd7e982b exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> V Role revoked successfully! Account ID: 019bae63-e9cd-7e8b-a378-2e0ca0d48610 Role ID: 82f4dda0-32c4-4cf2-9da8-ddb8bd7e982b ores-shell> Bye!
History
Get version history for an account.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' accounts history newuser41 exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +---------+-----------+-----------------------+-------------+-------------------------------+----------------+ | Version | Username | Email | Recorded By | Recorded At | Change Summary | +---------+-----------+-----------------------+-------------+-------------------------------+----------------+ | 1 | newuser41 | newuser41@example.com | ores | 2026-01-11 18:49:02.000000000 | Version 1 | +---------+-----------+-----------------------+-------------+-------------------------------+----------------+ ores-shell> Bye!
Variability
Functionality related to the accounts domain entity in ORE Studio Variability Component.
Help Menu
./ores.comms.shell ${log_args} << 'EOF'
variability
help
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> variability> Commands available: - help This help message - exit Quit the session - history Show the history - ! <history entry index> Exec a command by index in the history - list-flags Retrieve all feature flags from the server - add-flag <string> <string> <string> <string> <string> Add a feature flag (name enabled description reason_code "commentary") - delete-flag <string> Delete a feature flag by name - flag-history <string> Get version history for a feature flag by name - ores-shell (menu) variability> Bye!
List Feature Flags
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' variability list-flags exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +--------------------------------------+---------+---------------------------------------------------------------------------------------------------------------------+---------+-------------+-------------------------------+ | Name | Version | Description | Enabled | Recorded By | Recorded At | +--------------------------------------+---------+---------------------------------------------------------------------------------------------------------------------+---------+-------------+-------------------------------+ | test.feature.flag | 1 | Test feature flag for recipes | 0 | newuser3 | 2026-01-11 18:55:37.000000000 | | system.bootstrap_mode | 1 | Indicates whether the system is in bootstrap mode (waiting for initial admin account). | 0 | system | 2026-01-09 16:39:09.000000000 | | system.synthetic_data_generation | 1 | Enables synthetic test data generation in the UI. FOR TESTING/DEVELOPMENT ONLY. | 0 | system | 2026-01-09 16:37:36.000000000 | | system.disable_password_validation | 1 | When enabled, disables strict password validation. FOR TESTING/DEVELOPMENT ONLY. | 0 | system | 2026-01-09 16:37:36.000000000 | | system.signup_requires_authorization | 1 | Controls whether new signups require admin authorization. NOT YET IMPLEMENTED - enabling will cause signup to fail. | 0 | system | 2026-01-09 16:37:36.000000000 | | system.user_signups | 1 | Controls whether user self-registration is allowed. | 0 | system | 2026-01-09 16:37:36.000000000 | +--------------------------------------+---------+---------------------------------------------------------------------------------------------------------------------+---------+-------------+-------------------------------+ ores-shell> Bye!
Add Feature Flag
Add a new feature flag.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' variability add-flag test.feature.flag false "Test feature flag for recipes" system.new_record "Test" exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Feature flag added successfully! ores-shell> Bye!
Delete Feature Flag
Delete a feature flag by name.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' variability delete-flag test.feature.flag exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Feature flag deleted successfully! ores-shell> Bye!
Feature Flag History
Get version history for a feature flag.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' variability flag-history system.bootstrap_mode exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +-----------------------+---------+----------------------------------------------------------------------------------------+---------+-------------------+-------------+-------------------------------+ | Name | Version | Description | Enabled | Change Reason | Recorded By | Recorded At | +-----------------------+---------+----------------------------------------------------------------------------------------+---------+-------------------+-------------+-------------------------------+ | system.bootstrap_mode | 1 | Indicates whether the system is in bootstrap mode (waiting for initial admin account). | 0 | system.new_record | system | 2026-01-09 16:39:09.000000000 | +-----------------------+---------+----------------------------------------------------------------------------------------+---------+-------------------+-------------+-------------------------------+ ores-shell> Bye!
Currencies
Functionality related to the currencies domain entity.
Help Menu
./ores.comms.shell ${log_args} << 'EOF'
currencies
help
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> currencies> Commands available: - help This help message - exit Quit the session - history Show the history - ! <history entry index> Exec a command by index in the history - get Retrieve all currencies from the server - add <string> <string> <string> <string> <string> Add a currency (iso_code name [numeric_code] [symbol] [fractions_per_unit]) - delete <string> Delete a currency by ISO code - history <string> Get version history for a currency by ISO code - ores-shell (menu) currencies> Bye!
Get
Get all currencies in the system.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' currencies get exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +----------+---------+-----------------------------------------+--------+------+----------------+-----------+----------------------------+-------------+-------------------------------+ | ISO Code | Version | Name | Symbol | Type | Fractions/Unit | Precision | Change Reason | Recorded By | Recorded At | +----------+---------+-----------------------------------------+--------+------+----------------+-----------+----------------------------+-------------+-------------------------------+ | USD | 2 | US Dollar | $ | fiat | 100 | 1 | common.non_material_update | newuser3 | 2026-01-09 21:05:44.000000000 | | CAD | 1 | Canadian Dollar | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | MXN | 1 | Mexican Peso | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BRL | 1 | Brazilian Real | R$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | ARS | 1 | Argentine Peso | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | CLP | 1 | Chilean Peso | $ | fiat | 0 | 0 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | COP | 1 | Colombian Peso | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | PEN | 1 | Peruvian Sol | S/ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | UYU | 1 | Uruguayan Peso | $U | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | PYG | 1 | Paraguayan Guarani | ₲ | fiat | 0 | 0 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BOB | 1 | Bolivian Boliviano | Bs | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | VES | 1 | Venezuelan Bolivar | Bs | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | CRC | 1 | Costa Rican Colon | ₡ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | PAB | 1 | Panamanian Balboa | B/. | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | GTQ | 1 | Guatemalan Quetzal | Q | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | HNL | 1 | Honduran Lempira | L | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | NIO | 1 | Nicaraguan Cordoba | C$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | DOP | 1 | Dominican Peso | RD$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | CUP | 1 | Cuban Peso | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | JMD | 1 | Jamaican Dollar | J$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | TTD | 1 | Trinidad and Tobago Dollar | TT$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BBD | 1 | Barbadian Dollar | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BSD | 1 | Bahamian Dollar | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | HTG | 1 | Haitian Gourde | G | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | SRD | 1 | Surinamese Dollar | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | GYD | 1 | Guyanese Dollar | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BZD | 1 | Belize Dollar | BZ$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | AWG | 1 | Aruban Florin | ƒ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | ANG | 1 | Netherlands Antillean Guilder | ƒ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | KYD | 1 | Cayman Islands Dollar | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BMD | 1 | Bermudian Dollar | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | FKP | 1 | Falkland Islands Pound | £ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | XCD | 1 | East Caribbean Dollar | $ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | EUR | 1 | Euro | € | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | GBP | 1 | British Pound Sterling | £ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | CHF | 1 | Swiss Franc | CHF | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | NOK | 1 | Norwegian Krone | kr | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | SEK | 1 | Swedish Krona | kr | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | DKK | 1 | Danish Krone | kr | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | ISK | 1 | Icelandic Krona | kr | fiat | 0 | 0 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | PLN | 1 | Polish Zloty | zł | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | CZK | 1 | Czech Koruna | Kč | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | HUF | 1 | Hungarian Forint | Ft | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | RON | 1 | Romanian Leu | lei | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BGN | 1 | Bulgarian Lev | лв | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | HRK | 1 | Croatian Kuna | kn | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | RSD | 1 | Serbian Dinar | дин | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BAM | 1 | Bosnia and Herzegovina Convertible Mark | KM | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | MKD | 1 | Macedonian Denar | ден | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | ALL | 1 | Albanian Lek | L | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | MDL | 1 | Moldovan Leu | L | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | UAH | 1 | Ukrainian Hryvnia | ₴ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BYN | 1 | Belarusian Ruble | Br | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | RUB | 1 | Russian Ruble | ₽ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | GEL | 1 | Georgian Lari | ₾ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | AMD | 1 | Armenian Dram | ֏ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | AZN | 1 | Azerbaijani Manat | ₼ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | TRY | 1 | Turkish Lira | ₺ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | GIP | 1 | Gibraltar Pound | £ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | JPY | 1 | Japanese Yen | ¥ | fiat | 0 | 0 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | CNY | 1 | Chinese Yuan | ¥ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | HKD | 1 | Hong Kong Dollar | HK$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | TWD | 1 | New Taiwan Dollar | NT$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | KRW | 1 | South Korean Won | ₩ | fiat | 0 | 0 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | KPW | 1 | North Korean Won | ₩ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | SGD | 1 | Singapore Dollar | S$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | MYR | 1 | Malaysian Ringgit | RM | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | IDR | 1 | Indonesian Rupiah | Rp | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | THB | 1 | Thai Baht | ฿ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | VND | 1 | Vietnamese Dong | ₫ | fiat | 0 | 0 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | PHP | 1 | Philippine Peso | ₱ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | INR | 1 | Indian Rupee | ₹ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | PKR | 1 | Pakistani Rupee | Rs | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BDT | 1 | Bangladeshi Taka | ৳ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | LKR | 1 | Sri Lankan Rupee | Rs | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | NPR | 1 | Nepalese Rupee | Rs | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | MMK | 1 | Myanmar Kyat | K | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | KHR | 1 | Cambodian Riel | ៛ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | LAK | 1 | Lao Kip | ₭ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | MNT | 1 | Mongolian Tugrik | ₮ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | KZT | 1 | Kazakhstani Tenge | ₸ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | UZS | 1 | Uzbekistani Som | сўм | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | KGS | 1 | Kyrgyzstani Som | с | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | TJS | 1 | Tajikistani Somoni | ЅМ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | TMT | 1 | Turkmenistani Manat | m | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | AFN | 1 | Afghan Afghani | ؋ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | AUD | 1 | Australian Dollar | A$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | NZD | 1 | New Zealand Dollar | NZ$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | FJD | 1 | Fijian Dollar | FJ$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | PGK | 1 | Papua New Guinean Kina | K | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | SBD | 1 | Solomon Islands Dollar | SI$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | VUV | 1 | Vanuatu Vatu | VT | fiat | 0 | 0 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | WST | 1 | Samoan Tala | WS$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | TOP | 1 | Tongan Paanga | T$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | MOP | 1 | Macanese Pataca | MOP$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BND | 1 | Brunei Dollar | B$ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | BTN | 1 | Bhutanese Ngultrum | Nu. | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | MVR | 1 | Maldivian Rufiyaa | Rf | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | SAR | 1 | Saudi Riyal | ﷼ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | | AED | 1 | UAE Dirham | د.إ | fiat | 100 | 2 | system.new_record | system | 2026-01-09 16:37:39.000000000 | +----------+---------+-----------------------------------------+--------+------+----------------+-----------+----------------------------+-------------+-------------------------------+ ores-shell> Bye!
Add
Add a new currency.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' currencies add TEST700 Test700 700 A 100 exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✗ Failed to add currency: Failed to save currency: Repository error: Executing INSERT failed: ERROR: new row for relation "currencies" violates check constraint "currencies_change_reason_code_check" DETAIL: Failing row contains (TEST700, 1, Test700, 700, A, , 100, Nearest, 2, , fiat, null, newuser3, , , 2026-01-11 18:59:25.874112+00, 9999-12-31 23:59:59+00). ores-shell> Bye!
Delete
Delete a currency by ISO code.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' currencies delete TEST700 exit EOF
History
Get version history for a currency.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' currencies history USD exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +---------+----------+-----------+-------------+-------------------------------+----------------+ | Version | ISO Code | Name | Recorded By | Recorded At | Change Summary | +---------+----------+-----------+-------------+-------------------------------+----------------+ | 2 | USD | US Dollar | newuser3 | 2026-01-09 21:05:44.000000000 | Version 2 | | 1 | USD | US Dollar | system | 2026-01-09 16:37:39.000000000 | Version 1 | +---------+----------+-----------+-------------+-------------------------------+----------------+ ores-shell> Bye!
RBAC
Role-Based Access Control functionality for managing permissions and roles.
Help Menu Permissions
./ores.comms.shell ${log_args} << 'EOF'
permissions
help
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> permissions> Commands available: - help This help message - exit Quit the session - history Show the history - ! <history entry index> Exec a command by index in the history - list List all permissions in the system - ores-shell (menu) permissions> Bye!
Help Menu Roles
./ores.comms.shell ${log_args} << 'EOF'
roles
help
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> roles> Commands available: - help This help message - exit Quit the session - history Show the history - ! <history entry index> Exec a command by index in the history - list List all roles in the system - show <string> Show role details (role_name or role_id) - ores-shell (menu) roles> Bye!
List Permissions
List all permissions in the system.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' permissions list exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +--------------------------------------+-------------------------+---------------------------------------+ | ID (UUID) | Code | Description | +--------------------------------------+-------------------------+---------------------------------------+ | 963e09c4-9e79-4999-8328-6d75d2f07357 | * | Full access to all operations | | ee6134aa-51da-463f-aef7-151ada8f1ef0 | accounts:create | Create new user accounts | | da55dfdd-5cc9-44fa-a180-a7b6a63f2c8b | accounts:delete | Delete user accounts | | 2931b81c-54b4-416e-ac6a-ab16abaa83b0 | accounts:lock | Lock user accounts | | 1bb87ab9-97b5-4da3-a630-247278e01b32 | accounts:read | View user account details | | 45763784-6d33-4404-9159-085afa320a74 | accounts:reset_password | Force password reset on user accounts | | 3051b7f0-26ef-48d6-89a0-0628f83ef8d4 | accounts:unlock | Unlock user accounts | | 8526dcf5-e1d3-4b61-8060-74d464be79a1 | accounts:update | Modify user account settings | | 70302a28-b2c3-4a11-8f89-f5bb96ecaa36 | currencies:create | Create new currencies | | 0ac3bdba-73c9-4519-87a7-338820adee11 | currencies:delete | Delete currencies | | c2fb104f-140b-4c85-8853-81a92757bb68 | currencies:history | View currency version history | | d78c18f5-6705-408b-9512-5c7ac643796b | currencies:read | View currency details | | 0ce6311e-7239-415f-818c-992ed784bf98 | currencies:update | Modify currency settings | | 106b9e3e-2ece-433d-8997-215c73e3de3a | flags:create | Create new feature flags | | 9206160e-3897-4277-bbae-d5c30d25b2fe | flags:delete | Delete feature flags | | 58ea2c77-ca88-4d32-9022-bc92802910bc | flags:read | View feature flag status | | f846d3e5-6f63-4358-bfcc-cae3def9beb6 | flags:update | Modify feature flag settings | | 9cf7a227-a474-4bc7-9d4a-fc154d14f9b8 | login_info:read | View login history and info | | 2f503f67-77c2-49a7-aa7d-cf12afef08a3 | roles:assign | Assign roles to accounts | | c6c02365-8124-480e-b7e9-9a0474385723 | roles:create | Create new roles | | 0154a24e-e857-4a63-abf4-346cf42c77ef | roles:delete | Delete roles | | e2c6661e-9cd5-4979-a8df-2373d3526fd2 | roles:read | View role details | | 2ff0ea13-c8b9-47be-97c1-dd4467a2df47 | roles:revoke | Revoke roles from accounts | | 1bbc70ed-b41b-46e0-b991-b1e81d5138b2 | roles:update | Modify role permissions | +--------------------------------------+-------------------------+---------------------------------------+ ores-shell> Bye!
List Roles
List all roles in the system.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' roles list exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +--------------------------------------+------------+---------------------------------------------------------------+---------------------------------------------------------------+-------------+---------+ | ID (UUID) | Name | Description | Permissions | Recorded By | Version | +--------------------------------------+------------+---------------------------------------------------------------+---------------------------------------------------------------+-------------+---------+ | f60d8103-0283-4d46-aa4c-aa6bb50934d9 | Admin | Full administrative access to all system functions | * | system | 1 | | d6ac9d9f-91c3-40d2-998d-0e18604a8687 | Operations | Operations - currency management and account viewing | accounts:read, currencies:create, currencies:delete (+4 more) | system | 1 | | 82f4dda0-32c4-4cf2-9da8-ddb8bd7e982b | Sales | Sales operations - read-only currency access | currencies:read, flags:read | system | 1 | | 1bc4ce25-7f72-4ac1-b42a-6c11dd350906 | Support | Support - read-only access to all resources and admin screens | accounts:read, currencies:history, currencies:read (+3 more) | system | 1 | | a6eb024f-0c0c-4e0e-93a4-8fb5df41b2e2 | Trading | Trading operations - currency read access | currencies:history, currencies:read, flags:read | system | 1 | | 0810cd81-1d89-455f-9eb7-90e126c4a241 | Viewer | Viewer - basic read-only access to domain data | currencies:read, flags:read | system | 1 | +--------------------------------------+------------+---------------------------------------------------------------+---------------------------------------------------------------+-------------+---------+ ores-shell> Bye!
Get Role
Get details for a specific role.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' roles get Admin exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> Role Details ============ ID: f60d8103-0283-4d46-aa4c-aa6bb50934d9 Name: Admin Description: Full administrative access to all system functions Version: 1 Change Reason: system.new_record Commentary: System seed data Recorded By: system Recorded At: 2026-01-09 16:37:36.000000000 Permissions (1): ------------- - * ores-shell> Bye!
Events
Event subscription functionality for receiving notifications from the server.
Help Menu
./ores.comms.shell ${log_args} << 'EOF'
events
help
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> events> Commands available: - help This help message - exit Quit the session - history Show the history - ! <history entry index> Exec a command by index in the history - channels List available event channels - listen <string> Subscribe to notifications for an event type - unlisten <string> Unsubscribe from notifications (event_type or * for all) - subscriptions List active subscriptions - notifications Display and clear pending notifications - ores-shell (menu) events> Bye!
Channels
List available event channels.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' events channels exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> Available event channels: ores.assets.assets_changed - Currency image assets modified ores.iam.account_changed - Account data modified ores.iam.change_reason_category_changed - Change reason category data modified ores.iam.change_reason_changed - Change reason data modified ores.iam.permission_changed - Permission data modified ores.iam.role_changed - Role data modified ores.refdata.country_changed - Country data modified ores.refdata.currency_changed - Currency data modified ores.variability.feature_flags_changed - Feature flags modified Use 'listen <channel>' to subscribe, or 'listen *' for all. ores-shell> Bye!
Listen
Subscribe to notifications for an event type.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' events listen ores.refdata.currency_changed events subscriptions exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Listening on ores.refdata.currency_changed ores-shell> Active subscriptions: • ores.refdata.currency_changed ores-shell> Bye!
Unlisten
Unsubscribe from notifications.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' events listen ores.refdata.currency_changed events unlisten ores.refdata.currency_changed events subscriptions exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Listening on ores.refdata.currency_changed ores-shell> ✓ Stopped listening on ores.refdata.currency_changed ores-shell> No active subscriptions. ores-shell> Bye!
Subscriptions
List active subscriptions.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' events subscriptions exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> No active subscriptions. ores-shell> Bye!
Notifications
Display and clear pending notifications.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' events notifications exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> No pending notifications. ores-shell> Bye!
Compression
Compression settings for client-server communication.
Show Status
Show current compression setting.
./ores.comms.shell ${log_args} << 'EOF'
compression
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> Compression: on (zlib, gzip, bzip2) ores-shell> Bye!
Disable Compression
Disable compression for new connections.
./ores.comms.shell ${log_args} << 'EOF'
compression off
compression
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> wrong command: compression off ores-shell> Compression: on (zlib, gzip, bzip2) ores-shell> Bye!
Enable All Compression
Enable all compression algorithms.
./ores.comms.shell ${log_args} << 'EOF'
compression on
compression
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> wrong command: compression on ores-shell> Compression: on (zlib, gzip, bzip2) ores-shell> Bye!
Enable Specific Algorithm
Enable a specific compression algorithm (zlib, gzip, or bzip2).
./ores.comms.shell ${log_args} << 'EOF'
compression on zlib
compression
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> Compression enabled with zlib only. Setting takes effect on next connection. ores-shell> Compression: on (zlib) ores-shell> Bye!
Countries
Functionality related to the countries domain entity.
Help
./ores.comms.shell ${log_args} << 'EOF'
countries
help
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> countries> Commands available: - help This help message - exit Quit the session - history Show the history - ! <history entry index> Exec a command by index in the history - get Retrieve all countries from the server - add <string> <string> <string> <string> <string> <string> <string> Add a country (alpha2 alpha3 numeric name official_name reason_code "commentary") - delete <string> Delete a country by alpha-2 code - history <string> Get version history for a country by alpha-2 code - ores-shell (menu) countries> Bye!
Get
Get all countries in the system.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' countries get exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +---------+---------+---------+---------+-----------------------------------+---------------------------------------------------------------------------+----------------------+-------------+-------------------------------+ | Alpha-2 | Alpha-3 | Numeric | Version | Name | Official Name | Change Reason | Recorded By | Recorded At | +---------+---------+---------+---------+-----------------------------------+---------------------------------------------------------------------------+----------------------+-------------+-------------------------------+ | AE | ARE | 784 | 3 | United Arab Emirates | United Arab Emirates | common.rectification | newuser3 | 2026-01-10 08:35:13.000000000 | | AF | AFG | 004 | 1 | Afghanistan | Islamic Republic of Afghanistan | system.new_record | system | 2026-01-09 16:37:38.000000000 | | EE | EST | 233 | 1 | Estonia | Republic of Estonia | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AI | AIA | 660 | 1 | Anguilla | Anguilla | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AL | ALB | 008 | 1 | Albania | Republic of Albania | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AM | ARM | 051 | 1 | Armenia | Republic of Armenia | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BS | BHS | 044 | 1 | Bahamas | Commonwealth of The Bahamas | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AQ | ATA | 010 | 1 | Antarctica | Antarctica | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AR | ARG | 032 | 1 | Argentina | Argentine Republic | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AS | ASM | 016 | 1 | American Samoa | American Samoa | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AT | AUT | 040 | 1 | Austria | Republic of Austria | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AU | AUS | 036 | 1 | Australia | Commonwealth of Australia | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AW | ABW | 533 | 1 | Aruba | Aruba | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AX | ALA | 248 | 1 | Åland Islands | Åland Islands | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AZ | AZE | 031 | 1 | Azerbaijan | Republic of Azerbaijan | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BA | BIH | 070 | 1 | Bosnia and Herzegovina | Bosnia and Herzegovina | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BB | BRB | 052 | 1 | Barbados | Barbados | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BD | BGD | 050 | 1 | Bangladesh | People's Republic of Bangladesh | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BE | BEL | 056 | 1 | Belgium | Kingdom of Belgium | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BF | BFA | 854 | 1 | Burkina Faso | Burkina Faso | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BG | BGR | 100 | 1 | Bulgaria | Republic of Bulgaria | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BH | BHR | 048 | 1 | Bahrain | Kingdom of Bahrain | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BI | BDI | 108 | 1 | Burundi | Republic of Burundi | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BJ | BEN | 204 | 1 | Benin | Republic of Benin | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BL | BLM | 652 | 1 | Saint Barthélemy | Saint Barthélemy | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BM | BMU | 060 | 1 | Bermuda | Bermuda | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BN | BRN | 096 | 1 | Brunei | Brunei Darussalam | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BO | BOL | 068 | 1 | Bolivia | Plurinational State of Bolivia | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BQ | BES | 535 | 1 | Bonaire, Sint Eustatius and Saba | Bonaire, Sint Eustatius and Saba | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BR | BRA | 076 | 1 | Brazil | Federative Republic of Brazil | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AO | AGO | 024 | 1 | Angola | Republic of Angola | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BT | BTN | 064 | 1 | Bhutan | Kingdom of Bhutan | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BV | BVT | 074 | 1 | Bouvet Island | Bouvet Island | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BW | BWA | 072 | 1 | Botswana | Republic of Botswana | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BY | BLR | 112 | 1 | Belarus | Republic of Belarus | system.new_record | system | 2026-01-09 16:37:38.000000000 | | BZ | BLZ | 084 | 1 | Belize | Belize | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CA | CAN | 124 | 1 | Canada | Canada | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CC | CCK | 166 | 1 | Cocos (Keeling) Islands | Cocos (Keeling) Islands | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CD | COD | 180 | 1 | DR Congo | Democratic Republic of the Congo | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CF | CAF | 140 | 1 | Central African Republic | Central African Republic | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CG | COG | 178 | 1 | Congo | Republic of the Congo | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CH | CHE | 756 | 1 | Switzerland | Swiss Confederation | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CI | CIV | 384 | 1 | Côte d'Ivoire | Republic of Côte d'Ivoire | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CK | COK | 184 | 1 | Cook Islands | Cook Islands | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CL | CHL | 152 | 1 | Chile | Republic of Chile | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CM | CMR | 120 | 1 | Cameroon | Republic of Cameroon | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CN | CHN | 156 | 1 | China | People's Republic of China | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CO | COL | 170 | 1 | Colombia | Republic of Colombia | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CR | CRI | 188 | 1 | Costa Rica | Republic of Costa Rica | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CU | CUB | 192 | 1 | Cuba | Republic of Cuba | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CV | CPV | 132 | 1 | Cape Verde | Republic of Cabo Verde | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CW | CUW | 531 | 1 | Curaçao | Curaçao | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CX | CXR | 162 | 1 | Christmas Island | Christmas Island | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CY | CYP | 196 | 1 | Cyprus | Republic of Cyprus | system.new_record | system | 2026-01-09 16:37:38.000000000 | | CZ | CZE | 203 | 1 | Czechia | Czech Republic | system.new_record | system | 2026-01-09 16:37:38.000000000 | | DE | DEU | 276 | 1 | Germany | Federal Republic of Germany | system.new_record | system | 2026-01-09 16:37:38.000000000 | | DJ | DJI | 262 | 1 | Djibouti | Republic of Djibouti | system.new_record | system | 2026-01-09 16:37:38.000000000 | | DK | DNK | 208 | 1 | Denmark | Kingdom of Denmark | system.new_record | system | 2026-01-09 16:37:38.000000000 | | DM | DMA | 212 | 1 | Dominica | Commonwealth of Dominica | system.new_record | system | 2026-01-09 16:37:38.000000000 | | DO | DOM | 214 | 1 | Dominican Republic | Dominican Republic | system.new_record | system | 2026-01-09 16:37:38.000000000 | | DZ | DZA | 012 | 1 | Algeria | People's Democratic Republic of Algeria | system.new_record | system | 2026-01-09 16:37:38.000000000 | | EC | ECU | 218 | 1 | Ecuador | Republic of Ecuador | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AG | ATG | 028 | 1 | Antigua and Barbuda | Antigua and Barbuda | system.new_record | system | 2026-01-09 16:37:38.000000000 | | EG | EGY | 818 | 1 | Egypt | Arab Republic of Egypt | system.new_record | system | 2026-01-09 16:37:38.000000000 | | EH | ESH | 732 | 1 | Western Sahara | Western Sahara | system.new_record | system | 2026-01-09 16:37:38.000000000 | | ER | ERI | 232 | 1 | Eritrea | State of Eritrea | system.new_record | system | 2026-01-09 16:37:38.000000000 | | ES | ESP | 724 | 1 | Spain | Kingdom of Spain | system.new_record | system | 2026-01-09 16:37:38.000000000 | | ET | ETH | 231 | 1 | Ethiopia | Federal Democratic Republic of Ethiopia | system.new_record | system | 2026-01-09 16:37:38.000000000 | | FI | FIN | 246 | 1 | Finland | Republic of Finland | system.new_record | system | 2026-01-09 16:37:38.000000000 | | FJ | FJI | 242 | 1 | Fiji | Republic of Fiji | system.new_record | system | 2026-01-09 16:37:38.000000000 | | FK | FLK | 238 | 1 | Falkland Islands | Falkland Islands | system.new_record | system | 2026-01-09 16:37:38.000000000 | | FM | FSM | 583 | 1 | Micronesia | Federated States of Micronesia | system.new_record | system | 2026-01-09 16:37:38.000000000 | | FO | FRO | 234 | 1 | Faroe Islands | Faroe Islands | system.new_record | system | 2026-01-09 16:37:38.000000000 | | FR | FRA | 250 | 1 | France | French Republic | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GA | GAB | 266 | 1 | Gabon | Gabonese Republic | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GB | GBR | 826 | 1 | United Kingdom | United Kingdom of Great Britain and Northern Ireland | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GD | GRD | 308 | 1 | Grenada | Grenada | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GE | GEO | 268 | 1 | Georgia | Georgia | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GF | GUF | 254 | 1 | French Guiana | French Guiana | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GG | GGY | 831 | 1 | Guernsey | Bailiwick of Guernsey | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GH | GHA | 288 | 1 | Ghana | Republic of Ghana | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GI | GIB | 292 | 1 | Gibraltar | Gibraltar | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GL | GRL | 304 | 1 | Greenland | Greenland | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GM | GMB | 270 | 1 | Gambia | Republic of The Gambia | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GN | GIN | 324 | 1 | Guinea | Republic of Guinea | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GP | GLP | 312 | 1 | Guadeloupe | Guadeloupe | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GQ | GNQ | 226 | 1 | Equatorial Guinea | Republic of Equatorial Guinea | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GR | GRC | 300 | 1 | Greece | Hellenic Republic | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GS | SGS | 239 | 1 | South Georgia | South Georgia and the South Sandwich Islands | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GT | GTM | 320 | 1 | Guatemala | Republic of Guatemala | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GU | GUM | 316 | 1 | Guam | Guam | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GW | GNB | 624 | 1 | Guinea-Bissau | Republic of Guinea-Bissau | system.new_record | system | 2026-01-09 16:37:38.000000000 | | GY | GUY | 328 | 1 | Guyana | Co-operative Republic of Guyana | system.new_record | system | 2026-01-09 16:37:38.000000000 | | HK | HKG | 344 | 1 | Hong Kong | Hong Kong Special Administrative Region of the People's Republic of China | system.new_record | system | 2026-01-09 16:37:38.000000000 | | HM | HMD | 334 | 1 | Heard Island and McDonald Islands | Heard Island and McDonald Islands | system.new_record | system | 2026-01-09 16:37:38.000000000 | | HN | HND | 340 | 1 | Honduras | Republic of Honduras | system.new_record | system | 2026-01-09 16:37:38.000000000 | | HR | HRV | 191 | 1 | Croatia | Republic of Croatia | system.new_record | system | 2026-01-09 16:37:38.000000000 | | HT | HTI | 332 | 1 | Haiti | Republic of Haiti | system.new_record | system | 2026-01-09 16:37:38.000000000 | | HU | HUN | 348 | 1 | Hungary | Hungary | system.new_record | system | 2026-01-09 16:37:38.000000000 | | AD | AND | 020 | 1 | Andorra | Principality of Andorra | system.new_record | system | 2026-01-09 16:37:38.000000000 | +---------+---------+---------+---------+-----------------------------------+---------------------------------------------------------------------------+----------------------+-------------+-------------------------------+ ores-shell> Bye!
Add
Add a new country.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' countries add XY XYZ 1234 Xyzland "Xyzland land" "system.new" "New country" exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Country added successfully! ores-shell> Bye!
Delete
Delete a country by ISO code.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' countries delete XYZ exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Country XYZ deleted successfully! ores-shell> Bye!
History
Get version history for a country.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' countries history US exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +---------+---------+---------+---------+---------------+--------------------------+-------------------+-------------+-------------------------------+ | Alpha-2 | Alpha-3 | Numeric | Version | Name | Official Name | Change Reason | Recorded By | Recorded At | +---------+---------+---------+---------+---------------+--------------------------+-------------------+-------------+-------------------------------+ | US | USA | 840 | 1 | United States | United States of America | system.new_record | system | 2026-01-09 16:37:38.000000000 | +---------+---------+---------+---------+---------------+--------------------------+-------------------+-------------+-------------------------------+ ores-shell> Bye!
Change Reasons
Functionality related to the change reasons domain entity.
Help
./ores.comms.shell ${log_args} << 'EOF'
change-reasons
help
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> change-reasons> Commands available: - help This help message - exit Quit the session - history Show the history - ! <history entry index> Exec a command by index in the history - get Retrieve all change reasons from the server - add <string> <string> <string> <string> Add a change reason (code description category_code "commentary") - delete <string> Delete a change reason by code - history <string> Get version history for a change reason by code - ores-shell (menu) change-reasons> Bye!
Get
Get all change reasons in the system.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' change-reasons get exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +-----------------------------+----------+----------------------------------------------------+-------+--------+--------------+-------+-------------+---------+ | Code | Category | Description | Amend | Delete | Req. Comment | Order | Recorded By | Version | +-----------------------------+----------+----------------------------------------------------+-------+--------+--------------+-------+-------------+---------+ | system.initial_load | system | Initial system bootstrap or migration | N | N | N | 0 | system | 1 | | common.non_material_update | common | Non-material update (Touch) | Y | N | N | 10 | system | 1 | | system.new_record | system | New record created during normal operations | N | N | N | 10 | system | 1 | | trade.fat_finger | trade | Erroneous execution (wrong quantity/price) | Y | Y | N | 10 | system | 1 | | common.rectification | common | User/Booking Error | Y | Y | N | 20 | system | 1 | | system.external_data_import | system | External data import (requires data lineage) | Y | N | Y | 20 | system | 1 | | trade.system_malfunction | trade | Technical glitch or algorithm issue 2 | Y | Y | Y | 20 | newuser3 | 4 | | common.duplicate | common | Duplicate Record | N | Y | N | 30 | system | 1 | | trade.corporate_action | trade | Stock split, dividend, or merger adjustment | Y | Y | N | 30 | system | 1 | | common.stale_data | common | Data not updated within required liquidity horizon | Y | Y | N | 40 | system | 1 | | trade.allocation_swap | trade | House to client sub-account reallocation | Y | Y | N | 40 | system | 1 | | common.outlier_correction | common | Manual override after plausibility check failure | Y | Y | Y | 50 | system | 1 | | trade.re_booking | trade | Wrong legal entity correction | Y | Y | Y | 50 | system | 1 | | common.feed_failure | common | Upstream vendor/API data issue | Y | Y | Y | 60 | system | 1 | | common.mapping_error | common | Incorrect ID translation (e.g., ISIN to FIGI) | Y | Y | Y | 70 | system | 1 | | common.judgmental_override | common | Expert judgment when market prices unavailable | Y | Y | Y | 80 | system | 1 | | common.regulatory | common | Mandatory compliance adjustment | Y | Y | Y | 90 | system | 1 | | trade.other | trade | Exceptional (requires audit note) | N | Y | Y | 999 | newuser3 | 2 | | common.other | common | Exceptional (requires audit note) | Y | Y | Y | 1000 | system | 1 | +-----------------------------+----------+----------------------------------------------------+-------+--------+--------------+-------+-------------+---------+ ores-shell> Bye!
Add
Add a new change reason.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' change-reasons add test_reason "Test reason for recipes" common "New reason for testing." exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Change reason added successfully! ores-shell> Bye!
Delete
Delete a change reason by code.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' change-reasons delete test_reason exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Change reason test_reason deleted successfully! ores-shell> Bye!
History
Get version history for a change reason.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' change-reasons history system.initial_load exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +---------------------+----------+---------------------------------------+-------+--------+--------------+-------+-------------+---------+ | Code | Category | Description | Amend | Delete | Req. Comment | Order | Recorded By | Version | +---------------------+----------+---------------------------------------+-------+--------+--------------+-------+-------------+---------+ | system.initial_load | system | Initial system bootstrap or migration | N | N | N | 0 | system | 1 | +---------------------+----------+---------------------------------------+-------+--------+--------------+-------+-------------+---------+ ores-shell> Bye!
Change Reason Categories
Functionality related to the change reason categories domain entity.
Help
./ores.comms.shell ${log_args} << 'EOF'
change-reason-categories
help
exit
EOF
ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> change-reason-categories> Commands available: - help This help message - exit Quit the session - history Show the history - ! <history entry index> Exec a command by index in the history - get Retrieve all change reason categories from the server - add <string> <string> <string> Add a category (code description "commentary") - delete <string> Delete a category by code - history <string> Get version history for a category by code - ores-shell (menu) change-reason-categories> Bye!
Get
Get all change reason categories in the system.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' change-reason-categories get exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +--------+-------------------------------------------------------------------------+-------------+---------+ | Code | Description | Recorded By | Version | +--------+-------------------------------------------------------------------------+-------------+---------+ | common | Universal data quality reasons aligned with BCBS 239 and FRTB standards | system | 1 | | system | System-generated reasons for automatic operations (not user-selectable) | system | 1 | | trade | Trade lifecycle reasons aligned with FINRA and MiFID II standards. test | newuser3 | 7 | +--------+-------------------------------------------------------------------------+-------------+---------+ ores-shell> Bye!
Add
Add a new change reason category.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' change-reason-categories add TEST_CATEGORY "Test category for recipes" "New test category." exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Category added successfully! ores-shell> Bye!
Delete
Delete a change reason category by code.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' change-reason-categories delete TEST_CATEGORY exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Category TEST_CATEGORY deleted successfully! ores-shell> Bye!
History
Get version history for a change reason category.
export ORES_COMMS_SHELL_LOGIN_PASSWORD ./ores.comms.shell ${log_args} ${connect_args} ${login_args} << 'EOF' change-reason-categories history system exit EOF
✓ Connected to :51004 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.8 Type 'help' for available commands, 'exit' to quit. ores-shell> +--------+-------------------------------------------------------------------------+-------------+---------+ | Code | Description | Recorded By | Version | +--------+-------------------------------------------------------------------------+-------------+---------+ | system | System-generated reasons for automatic operations (not user-selectable) | system | 1 | +--------+-------------------------------------------------------------------------+-------------+---------+ ores-shell> Bye!
Footer
| Previous: Recipes |