Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: delete - allow to specify --force in CLI #1001

Merged
merged 3 commits into from
May 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make force a posarg at click CLI before truly optional devel_debug
Co-authored-by: John T. Wodder II <[email protected]>
  • Loading branch information
yarikoptic and jwodder committed May 5, 2022
commit a9370c9635f04244eb362e7944884e31b7e867e4
2 changes: 1 addition & 1 deletion dandi/cli/cmd_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@instance_option()
@devel_debug_option()
@map_to_click_exceptions
def delete(paths, skip_missing, dandi_instance, devel_debug=False, force=False):
def delete(paths, skip_missing, dandi_instance, force, devel_debug=False):
"""Delete dandisets and assets from the server.

PATH could be a local path or a URL to an asset, directory, or an entire
Expand Down