Example #1
0
 def upload_files(self, upload):
     # print(upload)
     if upload.sources == "sources":
         return methods.Methods(upload,
                                self.open_file(upload)).upload_sources()
     if upload.sources == "translations":
         return methods.Methods(
             upload, self.open_file(upload)).upload_translations()
Example #2
0
 def download_project(self, download):
     # print(download)
     return methods.Methods(download,
                            self.open_file(download)).download_project()
Example #3
0
 def list_files(self, list_f):
     # print(list_f)
     return methods.Methods(list_f,
                            self.open_file(list_f)).list_project_files()
Example #4
0
 def test(self, test):
     return methods.Methods(test, self.open_file(test)).test()