destroy: mention removing data files

Fixes #1000

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-08-13 07:30:58 +03:00
parent 487993995a
commit aaca0e7a38
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -116,7 +116,8 @@ def parse_args(argv=None):
init_parser.set_defaults(func=CmdInit)
# Destroy
DESTROY_HELP = 'Destroy dvc.'
DESTROY_HELP = "Destroy dvc. Will remove all project's information, " \
"data files and cache."
destroy_parser = subparsers.add_parser(
'destroy',
parents=[parent_parser],
+2 -2
View File
@@ -6,8 +6,8 @@ from dvc.exceptions import DvcException
class CmdDestroy(CmdBase):
def run_cmd(self):
try:
msg = u'This will destroy all information about your pipelines ' \
u'as well as cache in .dvc/cache.\n' \
msg = u'This will destroy all information about your pipelines, ' \
u'all data files, as well as cache in .dvc/cache.\n' \
u'Are you sure you want to continue?'
if not self.args.force and not prompt(msg, False):