addArgument('library', InputArgument::REQUIRED, 'The library will be compiled'); $this->addOption('show-libc-ver', null, null); } public function handle(): int { $library = $this->getArgument('library'); $show_libc_ver = $this->getOption('show-libc-ver'); $installer = new PackageInstaller(['pack-mode' => true]); $installer->addBuildPackage($library); $installer->run(); return static::SUCCESS; } }