addArgument('packages', null, 'The package to install (name or path)'); } public function handle(): int { ApplicationContext::set('elephant', true); $installer = new PackageInstaller([...$this->input->getOptions(), 'dl-prefer-binary' => true]); $installer->addInstallPackage($this->input->getArgument('packages')); $installer->run(true, true); return static::SUCCESS; } }