From e77bd3a1c67bf4e10c6b75135ed82f68bdfea654 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Sat, 18 Apr 2026 09:29:24 -0400 Subject: [PATCH 1/2] cli: check-version and version docs Added documentation for 'version' command and flags. Signed-off-by: Mathieu Benoit --- .../score implementation/score-compose/cli.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/content/en/docs/score implementation/score-compose/cli.md b/content/en/docs/score implementation/score-compose/cli.md index 197b72f4..a977003e 100644 --- a/content/en/docs/score implementation/score-compose/cli.md +++ b/content/en/docs/score implementation/score-compose/cli.md @@ -228,3 +228,37 @@ Lists the unique identifiers (UIDs) of all provisioned resources. ```bash score-compose resources list ``` + +## `version` + +Show the version for `score-compose` and new version to update if available. + +```bash +score-compose version +``` + +#### Flags + +### `--no-logo` + +Do not show the Score logo. + +```bash +score-compose version --no-logo +``` + +### `--no-updates-check` + +Do not check for a new version. + +```bash +score-compose version --no-updates-check +``` + +## `check-version` + +Assert that the version of `score-compose` matches the required constraint. + +```bash +score-compose check-version +``` From ba43cd1134e895ded243604a65f1ac03ebd45d4a Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Sat, 18 Apr 2026 09:31:01 -0400 Subject: [PATCH 2/2] Add version and check-version commands to cli.md Signed-off-by: Mathieu Benoit --- .../score implementation/score-k8s/cli.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/content/en/docs/score implementation/score-k8s/cli.md b/content/en/docs/score implementation/score-k8s/cli.md index d6674b42..0f371961 100644 --- a/content/en/docs/score implementation/score-k8s/cli.md +++ b/content/en/docs/score implementation/score-k8s/cli.md @@ -212,3 +212,37 @@ Lists the unique identifiers (UIDs) of all provisioned resources. ```bash score-k8s resources list ``` + +## `version` + +Show the version for `score-k8s` and new version to update if available. + +```bash +score-k8s version +``` + +#### Flags + +### `--no-logo` + +Do not show the Score logo. + +```bash +score-k8s version --no-logo +``` + +### `--no-updates-check` + +Do not check for a new version. + +```bash +score-k8s version --no-updates-check +``` + +## `check-version` + +Assert that the version of `score-k8s` matches the required constraint. + +```bash +score-k8s check-version +```