arcade-services icon indicating copy to clipboard operation
arcade-services copied to clipboard

darc delete-default-channel should allow for mass deletion

Open mmitche opened this issue 4 years ago • 1 comments

  • [ ] 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-channels 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
  1. Redirect delete-default-channel to delete-default-channels and add a message about deprecation.

mmitche avatar Jun 15 '21 16:06 mmitche

Added to the dependency flow epic.

markwilkie avatar Jun 18 '21 14:06 markwilkie