dhleong / playactor

play around with your playstation devices
147 stars 12 forks source link

Support checking playactor's version #27

Closed dhleong closed 3 years ago

dhleong commented 3 years ago

It would be great if version was added as a playactor <subcommand> and feature.

Example: playactor version Result: playactor v0.2.2

––––––––––

It would be even better if it knew (and indicated) if you are running the latest or an outdated release.

Result (latest): playactor v0.2.2 (latest)

Result (outdated): playactor v0.2.1 (outdated) Latest version: v0.2.2 To update, run: npm install -g playactor

––––––––––

It would be best if it also linked the latest version (to easily/quickly view release notes before updating).

Result (outdated w/ latest version link): playactor v0.2.1 (outdated) Latest version: v0.2.2 To update, run: npm install -g playactor

Originally posted by @LordZork in https://github.com/dhleong/playactor/discussions/26

dhleong commented 3 years ago

This has been mostly implemented in v0.3.0. The normal playactor --version will just quickly print out the current version, but you can also run playactor about to check if you're on the latest version. If you're not, we will also print out the release notes for the latest version.