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)