def addAlias(self, args):
        app_name, deployment_name = self.parse_app_deployment_name(args.name)
        if not deployment_name:
            deployment_name = 'default'
        if not args.alias:
            raise InputErrorException('NoAliasGiven')
        self.api.create_alias(app_name, args.alias, deployment_name)
        return True
Adds the given alias to the deployment.
dataset/ETHPy150Open cloudControl/cctrl/cctrl/app.py/AppController.addAlias