示例#1
0
 def add_source(self):
     attr = Parser(sys.argv[1:])
     local_commands = Local_command_runner()
     local_path = attr.local_path_parser()
     single_files = attr.single_files_parser()
     if single_files:
         self.sources = local_commands.run(local_path, single_files)
     else:
         self.sources = local_commands.run(local_path)