talira

Pub Updater

Check whether a Dart package is up to date and update it, for CLIs

open sourceMITfree

Pub Updater is a Dart package from Very Good Ventures that checks whether a package on pub.dev is up to date, fetches its latest version and runs the update. It's meant for command-line tools written in Dart that prompt their users to update themselves.

Problems it solves

  • tell users of my Dart CLI when a new version is out
  • make my Dart command-line tool update itself
  • check pub.dev for the latest version of a package from code

Features

  • check whether a given version is the latest on pub.dev
  • get a package's latest version
  • update a package to its latest version