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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user