dotnet / dotnet/arcade-services

darc delete-default-channel should allow for mass deletion

Open
#2,512 1 comment 1 reaction 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.