Skip to content

Commit 6ae378d

Browse files
committed
feat(install): print installed CLI version
1 parent 721250d commit 6ae378d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ main() {
4848
mkdir -p "$HOME/bin"
4949
ln -s -f "$exe" "$HOME/bin/wokwi-cli"
5050

51-
echo "wokwi-cli was installed successfully to $HOME/bin/wokwi-cli"
51+
VERSION=$($exe --short-version)
52+
echo "wokwi-cli version ${VERSION} was installed successfully to $HOME/bin/wokwi-cli"
5253

5354
if command -v wokwi-cli >/dev/null; then
5455
echo "Run 'wokwi-cli --help' to get started"

0 commit comments

Comments
 (0)