Skip to content

Commit

Permalink
Add sample output for version command (spiceai#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
Advayp committed Dec 18, 2024
1 parent 1c25148 commit c6861b6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion spiceaidocs/docs/cli/reference/version.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pagination_prev: null
pagination_next: null
---

Returns the current version of the Spice CLI.
Returns the current version of the Spice CLI and runtime.

### Usage

Expand All @@ -28,3 +28,15 @@ spice version
```shell
spice version --short
```

### Sample Output

**New Version Available:**

```
2024/12/17 22:42:11 INFO CLI version: v0.18.3-beta
2024/12/17 22:42:13 INFO Runtime version: v0.20.0-beta+models
2024/12/17 22:42:14 INFO
CLI version v1.0.0-rc.2 is now available!
To upgrade, run "spice upgrade".
```

0 comments on commit c6861b6

Please sign in to comment.