feat(cloud): add --wait flag support for connectivity commands #199
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for the
--waitflag to Cloud connectivity commands (VPC Peering, PSC, TGW), allowing users to wait for async network operations to complete. Network operations can take 5-15 minutes, so this feature provides progress indicators and automatic polling.Changes
handle_async_responseutilityhandle_async_responseutilityhandle_async_responseutilityConnectivityOperationParamsstruct to address clippy too_many_arguments warningsStatus
✅ Complete - All connectivity commands now support the
--waitflag with proper async operation handling.Commands Updated
VPC Peering (✅ Complete)
redisctl cloud connectivity vpc-peering create --waitredisctl cloud connectivity vpc-peering update --waitredisctl cloud connectivity vpc-peering delete --waitredisctl cloud connectivity vpc-peering create-aa --waitredisctl cloud connectivity vpc-peering update-aa --waitredisctl cloud connectivity vpc-peering delete-aa --waitPSC (✅ Complete)
redisctl cloud connectivity psc service-create --waitredisctl cloud connectivity psc service-delete --waitredisctl cloud connectivity psc endpoint-create --waitredisctl cloud connectivity psc endpoint-update --waitredisctl cloud connectivity psc endpoint-delete --waitTGW (✅ Complete)
redisctl cloud connectivity tgw attachment-create --waitredisctl cloud connectivity tgw attachment-update --waitredisctl cloud connectivity tgw attachment-delete --waitCode Quality Improvements
ConnectivityOperationParamsstruct to group common parametersTesting
Related Issues
Closes #196 (connectivity commands)
Part of #175 (overall --wait flag implementation)