Skip to content
/ upgrd Public

The nxxm integrated upgrd module : software upgrades made easy.

License

Notifications You must be signed in to change notification settings

nxxm/upgrd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upgrd library : upgrade support for nxxm powered apps

nxxm is a modern dependency managers that goes beyond dependency management but also performs upgrade.

This is the upgrd library, with the ecosystem that nxxm is providing the goal is to make it a complete toolkit to perform software upgrade.

Features

  • Relies on GitHub releases : once you tag and validate the release the apps starts downloading by your end user.
  • Provides a simple to one-liner API for the usual scenarii.
  upgrd::manager up{
    "nxxm",
    "example-upgrd-app",
    "v0.0.1",
    argc,
    argv,
    std::cout
  };

  up.propose_upgrade_when_needed();

This will add the following command line switches to your app :

  • --dont-upgrade : never perform the up-to-date check
  • --force-upgrade : force program upgrade (always check)
  • --auto-upgrade : check normally (once a day) but always do the upgrade without asking user.

About

The nxxm integrated upgrd module : software upgrades made easy.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages