Skip to content

Commit 62e85f9

Browse files
cli: check-version and version docs (#277)
Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr>
1 parent 34c9000 commit 62e85f9

2 files changed

Lines changed: 68 additions & 0 deletions

File tree

  • content/en/docs/score implementation

content/en/docs/score implementation/score-compose/cli.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,3 +228,37 @@ Lists the unique identifiers (UIDs) of all provisioned resources.
228228
```bash
229229
score-compose resources list
230230
```
231+
232+
## `version`
233+
234+
Show the version for `score-compose` and new version to update if available.
235+
236+
```bash
237+
score-compose version
238+
```
239+
240+
#### Flags
241+
242+
### `--no-logo`
243+
244+
Do not show the Score logo.
245+
246+
```bash
247+
score-compose version --no-logo
248+
```
249+
250+
### `--no-updates-check`
251+
252+
Do not check for a new version.
253+
254+
```bash
255+
score-compose version --no-updates-check
256+
```
257+
258+
## `check-version`
259+
260+
Assert that the version of `score-compose` matches the required constraint.
261+
262+
```bash
263+
score-compose check-version
264+
```

content/en/docs/score implementation/score-k8s/cli.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,3 +212,37 @@ Lists the unique identifiers (UIDs) of all provisioned resources.
212212
```bash
213213
score-k8s resources list
214214
```
215+
216+
## `version`
217+
218+
Show the version for `score-k8s` and new version to update if available.
219+
220+
```bash
221+
score-k8s version
222+
```
223+
224+
#### Flags
225+
226+
### `--no-logo`
227+
228+
Do not show the Score logo.
229+
230+
```bash
231+
score-k8s version --no-logo
232+
```
233+
234+
### `--no-updates-check`
235+
236+
Do not check for a new version.
237+
238+
```bash
239+
score-k8s version --no-updates-check
240+
```
241+
242+
## `check-version`
243+
244+
Assert that the version of `score-k8s` matches the required constraint.
245+
246+
```bash
247+
score-k8s check-version
248+
```

0 commit comments

Comments
 (0)