StackFormation\Command\Stack\Show\AbstractShowCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        if (!in_array($this->property, ['resources', 'outputs', 'parameters'])) {
            throw new \Exception('Invalid property');
        }
        $this->setName('stack:show:' . $this->property)->setDescription('Show a live stack\'s ' . $this->property);
    }