src/Robo/Commands/Generate/AliasesCommand.php
protected function writeAppConfig($app_id) {

    $project_yml = $this->getConfigValue('blt.config-files.project');
    $this->say("Updating ${project_yml}...");
    $project_config = YamlMunge::parseFile($project_yml);
    $project_config['cloud']['appId'] = $app_id;
    try {
      YamlMunge::writeFile($project_yml, $project_config);
    }
    catch (\Exception $e) {
      throw new BltException("Unable to update $project_yml.");
    }
  }
protected function writeAppConfig($app_id) {

    $project_yml = $this->getConfigValue('blt.config-files.project');
    $this->say("Updating ${project_yml}...");
    $project_config = YamlMunge::parseFile($project_yml);
    $project_config['cloud']['appId'] = $app_id;
    try {
      YamlMunge::writeFile($project_yml, $project_config);
    }
    catch (\Exception $e) {
      throw new BltException("Unable to update $project_yml.");
    }
  }
protected function writeAppConfig ( $ app_id ) { $ project_yml = $ this -> getConfigValue ( 'blt.config-files.project' ) ; $ this -> say ( "Updating ${project_yml}..." ) ; $ project_config = YamlMunge :: parseFile ( $ project_yml ) ; $ project_config [ 'cloud' ] [ 'appId' ] = $ app_id ; try { YamlMunge :: writeFile ( $ project_yml , $ project_config ) ; } catch ( \ Exception $ e ) { throw new BltException ( "Unable to update $project_yml." ) ; } }
Sets appId value in blt.yml to disable interative prompt.

@param string $app_id
The Acquia Cloud application UUID.
@throws \Acquia\Blt\Robo\Exceptions\BltException
Sets appId value in blt . yml to disable interative prompt .