Skip to content

Commit 8cb8e5d

Browse files
fix: update documentation examples to use correct field names and explicit commands (#280)
- Fix JMESPath examples to use correct Cloud API field names (planMemoryLimit instead of memoryLimitInGb, databaseId instead of id) - Replace all implicit smart command references with explicit cloud/enterprise prefixes - Update example outputs to match actual API responses - Fix all documentation to reflect removal of smart routing feature from PR #141
1 parent 4b93e6a commit 8cb8e5d

File tree

8 files changed

+222
-188
lines changed

8 files changed

+222
-188
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ redisctl profile list # Show all profiles
9090
redisctl profile path # Show config file location
9191

9292
# Common first commands
93-
redisctl database list # List all databases
93+
redisctl cloud database list # List Cloud databases
9494
redisctl cloud subscription list # List Cloud subscriptions
95-
redisctl enterprise node list # List Enterprise nodes
95+
redisctl enterprise node list # List Enterprise nodes
9696

9797
# Get detailed output
98-
redisctl database get 12345 --output table # Table format
99-
redisctl database list -o json | jq # JSON with jq
98+
redisctl cloud database get 12345 --output table # Table format
99+
redisctl cloud database list -o json | jq # JSON with jq
100100

101101
# Create resources and wait for completion
102102
redisctl cloud database create --data @database.json --wait

crates/redisctl/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
//! redisctl enterprise database list
5858
//!
5959
//! # Smart routing (auto-detects based on profile)
60-
//! redisctl database list --profile prod-cloud
60+
//! redisctl cloud database list --profile prod-cloud
6161
//! ```
6262
//!
6363
//! ## Features

0 commit comments

Comments
 (0)