get language versions
v0.1.2
這是我們的github操作獲取語言反复的命令行版本。
該腳本將獲取有關一組語言的GitHub操作上可用的最新版本的最新數據。它通過首先識別最新版本(如果版本源位於github中),然後從該最新版本的版本文件中提取信息來做到這一點。
它還將將其與該語言的壽命末(EOL)數據進行比較,以確保您沒有獲得EOL版本(除非您特別是將其贈送給您的工具)。
pip install wolfsoftware.get-language-versions
usage: get-language-versions [-h] [-v] [-H] [-L] [-P] [-R] [-m MIN_VERSION] [-M MAX_VERSION] [-V MAX_VERSIONS] [-l {go,node,nodejs,perl,php,python,ruby,terraform}]
flags:
-h, --help Show this help message and exit.
-v, --version Show program's version number and exit.
optional flags:
-H, --highest-only Only return the highest version found. (default: False)
-L, --list-languages List the supported languages (default: False)
-P, --include-pre-releases
Include pre-release versions (default: False)
-R, --remove-patch-version
Strip the patch version from the returned versions. (default: False)
optional:
-m MIN_VERSION, --min-version MIN_VERSION
The minimum version to start from (default: EOL)
-M MAX_VERSION, --max-version MAX_VERSION
The maximum version to include (default: LATEST)
-V MAX_VERSIONS, --max-versions MAX_VERSIONS
The maximum number of versions to return (default: 0)
required:
-l {go,node,nodejs,perl,php,python,ruby,terraform}, --language {go,node,nodejs,perl,php,python,ruby,terraform}
The language to check. (default: None)