BuildScript/scripts/commands/testflight_command.py

10 lines
320 B
Python

import commands.build_command as bcmd
import utils.testflight.testflight_publisher as tf
class PublishToTestFlightCommand(bcmd.BuildCommand):
def __init__(self, api_token, team_token, notes):
self._publisher = tf.TestFlightPublisherBase(api_token, team_token, notes)
def execute(self):
self._publisher.Publish()