src/Robo/Commands/Generate/AliasesCommand.php
protected function setAppId() {
    if ($app_id = $this->getConfigValue('cloud.appId')) {
      $this->appId = $app_id;
    }
    else {
      $this->say("<info>To generate an alias for the Acquia Cloud, BLT require's your Acquia Cloud application ID.</info>");
      $this->say("<info>See https://docs.acquia.com/acquia-cloud/manage/applications.</info>");
      $this->appId = $this->askRequired('Please enter your Acquia Cloud application ID');
      $this->writeAppConfig($this->appId);
    }
  }
protected function setAppId() {
    if ($app_id = $this->getConfigValue('cloud.appId')) {
      $this->appId = $app_id;
    }
    else {
      $this->say("<info>To generate an alias for the Acquia Cloud, BLT require's your Acquia Cloud application ID.</info>");
      $this->say("<info>See https://docs.acquia.com/acquia-cloud/manage/applications.</info>");
      $this->appId = $this->askRequired('Please enter your Acquia Cloud application ID');
      $this->writeAppConfig($this->appId);
    }
  }
protected function setAppId ( ) { if ( $ app_id = $ this -> getConfigValue ( 'cloud.appId' ) ) { $ this -> appId = $ app_id ; } else { $ this -> say ( "<info>To generate an alias for the Acquia Cloud, BLT require's your Acquia Cloud application ID.</info>" ) ; $ this -> say ( "<info>See https://docs.acquia.com/acquia-cloud/manage/applications.</info>" ) ; $ this -> appId = $ this -> askRequired ( 'Please enter your Acquia Cloud application ID' ) ; $ this -> writeAppConfig ( $ this -> appId ) ; } }
Sets the Acquia application ID from config and prompt.
Sets the Acquia application ID from config and prompt .