From fae0cfd6912c9ac504dbd059f0aeedf60396c716 Mon Sep 17 00:00:00 2001 From: Patrick Russell Date: Sat, 22 Nov 2025 21:54:57 -0800 Subject: [PATCH] Add support for AUS (Australia) region in CLI state commands This commit adds support for the new Australia (AUS) region to the CLI plugin for state management, enabling users to specify 'aus' as a valid region for all state commands. Changes: - Add 'aus' to region flag options in BaseCommand - Update all command tests to include 'aus' in expected region options - Regenerate README with updated region documentation Commands updated: - aio app state get - aio app state put - aio app state delete - aio app state list - aio app state stats All commands now accept --region flag with options: amer, emea, apac, aus The new AUS region connects to: https://storage-state-aus.app-builder.adp.adobe.io All 72 tests passing with full coverage. Related: ACNA-4170 - Australia region deployment Requires: @adobe/aio-lib-state >= 5.1.0 (with AUS support) --- README.md | 26 +++++++++++++------------- src/BaseCommand.js | 2 +- test/BaseCommand.test.js | 2 +- test/commands/app/state/delete.test.js | 2 +- test/commands/app/state/get.test.js | 2 +- test/commands/app/state/list.test.js | 2 +- test/commands/app/state/put.test.js | 2 +- test/commands/app/state/stats.test.js | 2 +- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 80597cd..c217698 100644 --- a/README.md +++ b/README.md @@ -36,16 +36,16 @@ Delete key-values ``` USAGE - $ aio app state delete [KEYS...] [--json] [--region amer|emea|apac] [--match ] [--force] + $ aio app state delete [KEYS...] [--json] [--region amer|emea|apac|aus] [--match ] [--force] ARGUMENTS - KEYS... keys to delete. Above 5 keys, you will be prompted for confirmation + [KEYS...] keys to delete. Above 5 keys, you will be prompted for confirmation FLAGS --force [use with caution!] force delete, no safety prompt --match= [use with caution!] deletes ALL key-values matching the provided glob-like pattern --region=