jsonfile_completer_method = functools.partial(Cmd.path_complete,
path_filter=lambda path: (os.path.isdir(path) or path.endswith(".json")))
ap_updateVSSTree.add_argument(
- "Json", help="Json tree to update VSS", completer_method=jsonfile_completer_method)
+ "Json", help="Json tree to update VSS", completer=jsonfile_completer_method)
jsonfile_completer_method = functools.partial(Cmd.path_complete,
path_filter=lambda path: (os.path.isdir(path) or path.endswith(".json")))
ap_updateVSSTree.add_argument(
- "Json", help="Json tree to update VSS", completer_method=jsonfile_completer_method)
+ "Json", help="Json tree to update VSS", completer=jsonfile_completer_method)