dvc: add confirmation for dvc destroy

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-07-15 19:18:01 +03:00
committed by Ruslan Kuprieiev
parent 586fde5f95
commit fef8ea4602
4 changed files with 56 additions and 1 deletions
+5
View File
@@ -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)