mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 23:11:44 +01:00
dvc: add confirmation for dvc destroy
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
586fde5f95
commit
fef8ea4602
@@ -94,6 +94,11 @@ def parse_args(argv=None):
|
||||
'destroy',
|
||||
parents=[parent_parser],
|
||||
help='Destroy dvc')
|
||||
destroy_parser.add_argument('-f',
|
||||
'--force',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='Force destruction')
|
||||
destroy_parser.set_defaults(func=CmdDestroy)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user