def __init__(self, package_name, source_directory, upstream,
                 credentials, **options):
        """
        Create new SyncCommand with given params.

        package_name the app package to upload download items to
        credentials = a GoogleCredentials object
        source_directory = the directory to sync from/to
        upstream = uplaod or download items from/to play
        options = additional options
        """
        super(SyncCommand, self).__init__()
        self.package_name = package_name
        self.credentials = credentials
        self.source_directory = source_directory
        self.upstream = upstream
        self.options = options
        self._init_credentials()
        self._initialize_client()
def __init__ ( self , package_name , source_directory , upstream , credentials , ** options ) : super ( SyncCommand , self ) . __init__ ( ) self . package_name = package_name self . credentials = credentials self . source_directory = source_directory self . upstream = upstream self . options = options self . _init_credentials ( ) self . _initialize_client ( )
Create new SyncCommand with given params.

        package_name the app package to upload download items to
        credentials = a GoogleCredentials object
        source_directory = the directory to sync from/to
        upstream = uplaod or download items from/to play
        options = additional options