Platformsh\Cli\Command\Variable\VariableGetCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('variable:get')->setAliases(['variables', 'vget'])->addArgument('name', InputArgument::OPTIONAL, 'The name of the variable')->addOption('pipe', null, InputOption::VALUE_NONE, 'Output the full variable value only (a "name" must be specified)')->setDescription('View variable(s) for an environment');
        Table::addFormatOption($this->getDefinition());
        $this->addProjectOption()->addEnvironmentOption();
        $this->addExample('View the variable "example"', 'example');
        $this->setHiddenAliases(['variable:list']);
    }
VariableGetCommand