pulsepm / pulse

Unofficial package manager written in python.
MIT License
4 stars 0 forks source link

Add version flag to the CLI #116

Closed mysy00 closed 2 weeks ago

mysy00 commented 2 weeks ago

Add a way to print currently installed version. It has to be bumped manually each release.

This lets us to later on create systems to automatically update the package only if it's necessary or create update checks within the program itself that base on this version and e.g. comparing it to latest GitHub release by using curl (in shell scripting something like curl -s https://api.github.com/repos/pulsepm/pulse/releases | grep -Po '"tag_name": "\K.*?(?=")').

This will also help my Linux installer script determinate currently installed version.