Platformsh\Cli\Command\Project\ProjectGetCommand::configure PHP Метод

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

protected configure ( )
    protected function configure()
    {
        $this->setName('project:get')->setAliases(['get'])->setDescription('Clone a project locally')->addArgument('id', InputArgument::OPTIONAL, 'The project ID')->addArgument('directory', InputArgument::OPTIONAL, 'The directory to clone to. Defaults to the project title')->addOption('environment', 'e', InputOption::VALUE_REQUIRED, "The environment ID to clone. Defaults to 'master'")->addOption('host', null, InputOption::VALUE_REQUIRED, "The project's API hostname")->addOption('build', null, InputOption::VALUE_NONE, 'Build the project after cloning');
        $this->addExample('Clone the project "abc123" into the directory "my-project"', 'abc123 my-project');
    }