Skip to content

Conversation

@joshrotenberg
Copy link
Collaborator

Description

This PR adds support for the --wait flag to fixed database and fixed subscription commands, allowing users to wait for async operations to complete.

Changes

  • ✅ Updated fixed database commands (create, update, delete, backup, import) to support async operation args
  • ✅ Updated fixed subscription commands (create, update, delete) to support async operation args
  • ✅ Replaced manual task handling with handle_async_response utility for consistent behavior
  • ✅ All commands now support --wait, --wait-timeout, and --wait-interval flags

Commands Updated

Fixed Database Commands

  • redisctl cloud fixed-database create
  • redisctl cloud fixed-database update
  • redisctl cloud fixed-database delete
  • redisctl cloud fixed-database backup
  • redisctl cloud fixed-database import

Fixed Subscription Commands

  • redisctl cloud fixed-subscription create
  • redisctl cloud fixed-subscription update
  • redisctl cloud fixed-subscription delete

Testing

  • ✅ Compilation successful
  • ✅ Tests passing
  • ✅ Clippy checks passing

Related Issues

Closes #193

…ion commands

- Update fixed database commands (create, update, delete, backup, import) to support async operation args
- Update fixed subscription commands (create, update, delete) to support async operation args
- Replace manual task handling with handle_async_response utility for consistent behavior
- All commands now support --wait, --wait-timeout, and --wait-interval flags

Part of #193
@joshrotenberg joshrotenberg merged commit 5f05783 into main Sep 7, 2025
9 checks passed
@joshrotenberg joshrotenberg deleted the feat/fixed-commands-wait-flag branch September 7, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cloud): add --wait flag to fixed database and subscription commands

2 participants