Example #1
0
class Command(BaseCommand):
    help = 'GitHub <-> SDE sync utility.'

    def configure(self):
        alm_api = GitHubAPI(self.config)
        self.github = GitHubConnector(self.config, alm_api)

    def handle(self):
        self.github.initialize()
        self.github.synchronize()
        return True
Example #2
0
 def configure(self):
     alm_api = GitHubAPI(self.config)
     self.github = GitHubConnector(self.config, alm_api)
Example #3
0
 def configure(self):
     sync_base = GitHubAPI(self.config)
     self.github = GitHubConnector(self.config, sync_base)