1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 07:52:57 +00:00

refactor command "listfiles" to "files"

This commit is contained in:
deadc0de6
2019-11-27 19:11:31 +01:00
parent 77527d92c6
commit 8844084999
10 changed files with 48 additions and 48 deletions

View File

@@ -130,7 +130,7 @@ def _fake_args():
args['--force-actions'] = False
# cmds
args['list'] = False
args['listfiles'] = False
args['files'] = False
args['install'] = False
args['compare'] = False
args['import'] = False

View File

@@ -82,13 +82,13 @@ class TestListings(unittest.TestCase):
cmd_importer(o)
o = load_options(confpath, profile)
# listfiles
# files
cmd_list_profiles(o)
# list files
o.listfiles_templateonly = False
o.files_templateonly = False
cmd_list_files(o)
o.listfiles_templateonly = True
o.files_templateonly = True
cmd_list_files(o)
# details