Skip to content

Commit bfb9317

Browse files
committed
fix: simplify quick-start demo to focus on working commands
- Remove API calls that require real credentials - Focus on profile management which always works - Show help output (truncated) instead of full help - Demonstrate core workflow without errors
1 parent 20d9515 commit bfb9317

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

vhs/quick-start.tape

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,42 @@ Enter
2121
Sleep 1.5s
2222
Enter
2323

24-
Type "# List existing profiles"
24+
Type "# View available commands"
2525
Enter
26-
Type "redisctl profile list"
26+
Type "redisctl --help | head -20"
2727
Enter
2828
Sleep 2.5s
2929
Enter
3030

31-
Type "# Create a new Cloud profile"
31+
Type "# Create profiles for different environments"
3232
Enter
33-
Type "redisctl profile set development --deployment cloud --api-key DEV-KEY --api-secret DEV-SECRET"
33+
Type "redisctl profile set prod --deployment cloud --api-key PROD_KEY --api-secret PROD_SECRET"
3434
Enter
35-
Sleep 2s
35+
Sleep 1.5s
3636
Enter
3737

38-
Type "# View profile details"
38+
Type "redisctl profile set dev --deployment enterprise --url https://dev.local:9443 --username admin --password pass123 --insecure"
3939
Enter
40-
Type "redisctl profile get production"
40+
Sleep 1.5s
4141
Enter
42-
Sleep 2s
42+
43+
Type "# List all profiles"
44+
Enter
45+
Type "redisctl profile list"
46+
Enter
47+
Sleep 2.5s
4348
Enter
4449

45-
Type "# Get Redis Cloud regions (first 3)"
50+
Type "# Set default profile"
4651
Enter
47-
Type 'redisctl cloud regions list --profile production -o json | jq ".[0:3] | .[].name"'
52+
Type "redisctl profile default prod"
4853
Enter
49-
Sleep 2s
54+
Sleep 1.5s
5055
Enter
5156

52-
Type "# Direct API with JMESPath filtering"
57+
Type "# View profile details"
5358
Enter
54-
Type 'redisctl api cloud get /payment-methods --profile production -o json -q "paymentMethods[0].cardType"'
59+
Type "redisctl profile get prod"
5560
Enter
5661
Sleep 2s
5762

0 commit comments

Comments
 (0)