artiframe cli-version
The artiframe cli-version command checks the version of the ArtiFrame CLI tool itself installed on your machine.
It queries the latest published version from the NPM registry and, if a new version is available, prompts you to update it seamlessly directly from the terminal.
Usage
$ artiframe cli-version
If You Are Up-To-Date
$ artiframe cli-version
Current Version: v1.0.8
Latest Version: v1.0.8
Your CLI tool is completely up-to-date!
If a New Version Exists (Auto-Update)
When a new version is detected, it triggers the npm install -g @artilingo/artiframe-cli@latest command in the background to automatically update the CLI tool.
$ artiframe cli-version
Current Version: v1.0.8
Latest Version: v1.1.2
A new update is available!
v1.0.8 -> v1.1.2
Update now? [y/N]: y
Updating...
✅ CLI updated successfully!