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 +``` 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 +```