Add version getter and checksum for go-xcaddy artifact

This commit is contained in:
crazywhalecc
2025-12-05 11:15:04 +08:00
committed by Jerry Ma
parent d16f5a972c
commit c925914925
2 changed files with 28 additions and 14 deletions

View File

@@ -27,6 +27,8 @@ class DownloadCommand extends BaseCommand
$this->addOption('for-libs', 'l', InputOption::VALUE_REQUIRED, 'Fetch by libraries, e.g "libcares,openssl,onig"');
$this->addOption('without-suggests', null, null, 'Do not fetch suggested sources when using --for-extensions');
$this->addOption('without-suggestions', null, null, '(deprecated) Do not fetch suggested sources when using --for-extensions');
// download command specific options
$this->addOption('clean', null, null, 'Clean old download cache and source before fetch');
$this->addOption('for-packages', null, InputOption::VALUE_REQUIRED, 'Fetch by packages, e.g "php,libssl,libcurl"');