dotnet / dotnet/arcade-services
darc delete-default-channel should allow for mass deletion
- Dominant language
- C#
- Stars
- 86
- Forks
- 86
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 35
Description
- [ ] This issue is blocking
- [ ] This issue is causing unreasonable pain
delete-subscriptions and a few other commands have 'mass' modes, where they match inputs on a subset of parameters, confirm the deletion, and then mass delete. delete-default-channel is missing this functionality. This is somewhat annoying because deleting an entire set of default channels is reasonably common (cleaning up old flow). Suggest doing the following:
1. Add a new command delete-default-channel**s** which does (use the same behavior as delete-subscriptions)r:
- Matches the input parameters on substring, except if `--id` is used.
- Add an --exact switch, and match on exact strings if passed.
- Add confirmation of delete, unless --quiet is passed
2. Redirect delete-default-channel to delete-default-channel**s** and add a message about deprecation.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.