From 9524208c8575d0be12c974096620ae26e072e465 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 8 Nov 2023 18:23:11 +0200 Subject: [PATCH] Update help text --- README.md | 71 +++++++++++++++++++++------------------- src/norwegianblue/cli.py | 2 +- 2 files changed, 38 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index b7f2e69..05934c1 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ options: deprecated: use direct options instead: --html, --json, --md, --pretty, --rst, --csv, --tsv or --yaml. -c {yes,no,auto}, --color {yes,no,auto} - colour the terminal output (default: auto) + colour the output (default: auto) --clear-cache clear cache before running -v, --verbose print extra messages to stderr -V, --version show program's version number and exit @@ -98,11 +98,11 @@ run("eol", line_limit=5) ```console $ eol +akeneo-pim alibaba-dragonwell almalinux alpine -amazon-corretto -amazon-eks +amazon-cdk ... ``` @@ -116,21 +116,22 @@ run("norwegianblue python") ```console $ norwegianblue python -┌───────┬────────────┬─────────┬────────────────┬────────────┐ -│ cycle │ release │ latest │ latest release │ eol │ -├───────┼────────────┼─────────┼────────────────┼────────────┤ -│ 3.11 │ 2022-10-24 │ 3.11.4 │ 2023-06-06 │ 2027-10-24 │ -│ 3.10 │ 2021-10-04 │ 3.10.12 │ 2023-06-06 │ 2026-10-04 │ -│ 3.9 │ 2020-10-05 │ 3.9.17 │ 2023-06-06 │ 2025-10-05 │ -│ 3.8 │ 2019-10-14 │ 3.8.17 │ 2023-06-06 │ 2024-10-14 │ -│ 3.7 │ 2018-06-26 │ 3.7.17 │ 2023-06-05 │ 2023-06-27 │ -│ 3.6 │ 2016-12-22 │ 3.6.15 │ 2021-09-03 │ 2021-12-23 │ -│ 3.5 │ 2015-09-12 │ 3.5.10 │ 2020-09-05 │ 2020-09-13 │ -│ 3.4 │ 2014-03-15 │ 3.4.10 │ 2019-03-18 │ 2019-03-18 │ -│ 3.3 │ 2012-09-29 │ 3.3.7 │ 2017-09-19 │ 2017-09-29 │ -│ 2.7 │ 2010-07-03 │ 2.7.18 │ 2020-04-19 │ 2020-01-01 │ -│ 2.6 │ 2008-10-01 │ 2.6.9 │ 2013-10-29 │ 2013-10-29 │ -└───────┴────────────┴─────────┴────────────────┴────────────┘ +┌───────┬────────────┬─────────┬────────────────┬────────────┬────────────┐ +│ cycle │ release │ latest │ latest release │ support │ eol │ +├───────┼────────────┼─────────┼────────────────┼────────────┼────────────┤ +│ 3.12 │ 2023-10-02 │ 3.12.0 │ 2023-10-02 │ 2025-04-02 │ 2028-10-02 │ +│ 3.11 │ 2022-10-24 │ 3.11.6 │ 2023-10-02 │ 2024-04-01 │ 2027-10-24 │ +│ 3.10 │ 2021-10-04 │ 3.10.13 │ 2023-08-24 │ 2023-04-05 │ 2026-10-04 │ +│ 3.9 │ 2020-10-05 │ 3.9.18 │ 2023-08-24 │ 2022-05-17 │ 2025-10-05 │ +│ 3.8 │ 2019-10-14 │ 3.8.18 │ 2023-08-24 │ 2021-05-03 │ 2024-10-14 │ +│ 3.7 │ 2018-06-26 │ 3.7.17 │ 2023-06-05 │ 2020-06-27 │ 2023-06-27 │ +│ 3.6 │ 2016-12-22 │ 3.6.15 │ 2021-09-03 │ 2018-12-24 │ 2021-12-23 │ +│ 3.5 │ 2015-09-12 │ 3.5.10 │ 2020-09-05 │ False │ 2020-09-13 │ +│ 3.4 │ 2014-03-15 │ 3.4.10 │ 2019-03-18 │ False │ 2019-03-18 │ +│ 3.3 │ 2012-09-29 │ 3.3.7 │ 2017-09-19 │ False │ 2017-09-29 │ +│ 2.7 │ 2010-07-03 │ 2.7.18 │ 2020-04-19 │ False │ 2020-01-01 │ +│ 2.6 │ 2008-10-01 │ 2.6.9 │ 2013-10-29 │ False │ 2013-10-29 │ +└───────┴────────────┴─────────┴────────────────┴────────────┴────────────┘ ``` @@ -141,19 +142,20 @@ You can format in Markdown, ready for pasting in GitHub issues and PRs: run("eol python --md", with_console=False) ]]] --> -| cycle | release | latest | latest release | eol | -| :---- | :--------: | :------ | :------------: | :--------: | -| 3.11 | 2022-10-24 | 3.11.4 | 2023-06-06 | 2027-10-24 | -| 3.10 | 2021-10-04 | 3.10.12 | 2023-06-06 | 2026-10-04 | -| 3.9 | 2020-10-05 | 3.9.17 | 2023-06-06 | 2025-10-05 | -| 3.8 | 2019-10-14 | 3.8.17 | 2023-06-06 | 2024-10-14 | -| 3.7 | 2018-06-26 | 3.7.17 | 2023-06-05 | 2023-06-27 | -| 3.6 | 2016-12-22 | 3.6.15 | 2021-09-03 | 2021-12-23 | -| 3.5 | 2015-09-12 | 3.5.10 | 2020-09-05 | 2020-09-13 | -| 3.4 | 2014-03-15 | 3.4.10 | 2019-03-18 | 2019-03-18 | -| 3.3 | 2012-09-29 | 3.3.7 | 2017-09-19 | 2017-09-29 | -| 2.7 | 2010-07-03 | 2.7.18 | 2020-04-19 | 2020-01-01 | -| 2.6 | 2008-10-01 | 2.6.9 | 2013-10-29 | 2013-10-29 | +| cycle | release | latest | latest release | support | eol | +| :---- | :--------: | :------ | :------------: | :--------: | :--------: | +| 3.12 | 2023-10-02 | 3.12.0 | 2023-10-02 | 2025-04-02 | 2028-10-02 | +| 3.11 | 2022-10-24 | 3.11.6 | 2023-10-02 | 2024-04-01 | 2027-10-24 | +| 3.10 | 2021-10-04 | 3.10.13 | 2023-08-24 | 2023-04-05 | 2026-10-04 | +| 3.9 | 2020-10-05 | 3.9.18 | 2023-08-24 | 2022-05-17 | 2025-10-05 | +| 3.8 | 2019-10-14 | 3.8.18 | 2023-08-24 | 2021-05-03 | 2024-10-14 | +| 3.7 | 2018-06-26 | 3.7.17 | 2023-06-05 | 2020-06-27 | 2023-06-27 | +| 3.6 | 2016-12-22 | 3.6.15 | 2021-09-03 | 2018-12-24 | 2021-12-23 | +| 3.5 | 2015-09-12 | 3.5.10 | 2020-09-05 | False | 2020-09-13 | +| 3.4 | 2014-03-15 | 3.4.10 | 2019-03-18 | False | 2019-03-18 | +| 3.3 | 2012-09-29 | 3.3.7 | 2017-09-19 | False | 2017-09-29 | +| 2.7 | 2010-07-03 | 2.7.18 | 2020-04-19 | False | 2020-01-01 | +| 2.6 | 2008-10-01 | 2.6.9 | 2013-10-29 | False | 2013-10-29 | @@ -170,11 +172,12 @@ $ eol nodejs --rst ======== ============ ========== ================ ============ ============ ====================================================================================== cycle release latest latest release support eol link ======== ============ ========== ================ ============ ============ ====================================================================================== - 20 LTS 2023-04-18 20.5.0 2023-07-20 2024-10-22 2026-04-30 + 21 2023-10-17 21.1.0 2023-10-24 2024-04-01 2024-06-01 + 20 LTS 2023-04-18 20.9.0 2023-10-24 2024-10-22 2026-04-30 19 2022-10-18 19.9.0 2023-04-10 2023-04-01 2023-06-01 - 18 LTS 2022-04-19 18.17.0 2023-07-18 2023-10-18 2025-04-30 + 18 LTS 2022-04-19 18.18.2 2023-10-13 2023-10-18 2025-04-30 17 2021-10-19 17.9.1 2022-06-01 2022-04-01 2022-06-01 - 16 LTS 2021-04-20 16.20.1 2023-06-20 2022-10-18 2023-09-11 + 16 LTS 2021-04-20 16.20.2 2023-08-09 2022-10-18 2023-09-11 15 2020-10-20 15.14.0 2021-04-06 2021-04-01 2021-06-01 14 LTS 2020-04-21 14.21.3 2023-02-16 2021-10-19 2023-04-30 13 2019-10-22 13.14.0 2020-04-29 2020-04-01 2020-06-01 diff --git a/src/norwegianblue/cli.py b/src/norwegianblue/cli.py index 123186f..9b30573 100644 --- a/src/norwegianblue/cli.py +++ b/src/norwegianblue/cli.py @@ -59,7 +59,7 @@ def main() -> None: "--color", default="auto", choices=("yes", "no", "auto"), - help="colour the terminal output (default: auto)", + help="colour the output (default: auto)", ) parser.add_argument( "--clear-cache", action="store_true", help="clear cache before running"