matteosacchetto / node-zip-cli

Simple NodeJS CLI which allows you to create a ZIP file with support for .gitignore files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement an update checker

matteosacchetto opened this issue · comments

Add a simple checker which, if you have a network connection checks if a new version is available.

Allow the configuration of the rate with which this is performed (ex. once a day, once a week, never)
The check is a simple request to the GH API to retrieve the latest version plus the suggestion of the command to run to install the update.

This should be performed ONLY after the selected command has finished running

Something like npm does