Platformsh\Cli\Command\Variable\VariableSetCommand::configure PHP Метод

configure() защищенный Метод

protected configure ( )
    protected function configure()
    {
        $this->setName('variable:set')->setAliases(['vset'])->addArgument('name', InputArgument::REQUIRED, 'The variable name')->addArgument('value', InputArgument::REQUIRED, 'The variable value')->addOption('json', null, InputOption::VALUE_NONE, 'Mark the value as JSON')->setDescription('Set a variable for an environment');
        $this->addProjectOption()->addEnvironmentOption()->addNoWaitOption();
        $this->addExample('Set the variable "example" to the string "123"', 'example 123');
        $this->addExample('Set the variable "example" to the Boolean TRUE', 'example --json true');
        $this->addExample('Set the variable "example" to a list of values', 'example --json \'["value1", "value2"]\'');
    }