13 lines
353 B
Python
13 lines
353 B
Python
from utils.TestflightPublisher import TestFlightPublisher
|
|
|
|
|
|
class TestflightCommand:
|
|
def __init__(self, pathToFile, api_token, team_token, notes):
|
|
assert pathToFile is not None
|
|
|
|
self.__pathToFile = pathToFile
|
|
self.__publisher = TestFlightPublisher(api_token, team_token, notes)
|
|
|
|
def execute(self):
|
|
self.__publisher.Publish(self.__pathToFile)
|