public function __construct($envList)
{
// define the command
$this->setName('list-targets');
$this->setShortDescription('list the available test environments');
$this->setLongDesc("Use this switch to get a list of all of the test environments" . " that are defined in the config files.");
// what are the short switches?
$this->addShortSwitch('T');
// what are the long switches?
$this->addLongSwitch('list-targets');
// we are actually a command, pretending to be a switch
$this->setSwitchActsAsCommand();
// remember the environments list
$this->envList = $envList;
}