-
Notifications
You must be signed in to change notification settings - Fork 28
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
Conversation
internal implementation already had that option, so we just needed to pass it through Closes #993
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1001 +/- ##
===========================================
+ Coverage 64.85% 87.48% +22.63%
===========================================
Files 64 64
Lines 8109 8110 +1
===========================================
+ Hits 5259 7095 +1836
+ Misses 2850 1015 -1835
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
docs/source/cmdline/delete.rst
Outdated
resources are instead simply silently ignored. | ||
resources are instead simply silently ignored | ||
|
||
.. option:: --force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please place this before --instance
so that the options are in alphabetical order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh -- didn't know that there is such convention. So ATM we have 3 orders -- one in delete
python API, another in click interface (debug options go last), and then yet another in docs (sorted alphabetically). IMHO that is suboptimal since again becomes a surprise while switching between interfaces and documentation. But for now, for consistency, moved it up as requested (force pushed doc changing commit).
Co-authored-by: John T. Wodder II <[email protected]>
e9171fa
to
a9370c9
Compare
🚀 PR was released in |
internal implementation already had that option, so we just needed
to pass it through
Closes #993