atSCM / atscm-cli

Command line interface for atSCM
4 stars 0 forks source link

Print version changelog when suggesting to update #75

Closed LukasHechenberger closed 1 year ago

LukasHechenberger commented 6 years ago

When update-notifier suggests an update we could improve the message shown by printing the corresponding version changelog.

Implementation could use cli-md to present the changelog retrieved from the GitHub Rest API.

This could look like:

  |---------------------------------------------------------------| 
  |                                                               |
  |   Update available ...                                        |
  |                                                               |
  |   Bug Fixes:                                                  |
  |   - Allow running without tasks (#64) (d102534), closes #62.  |
  |                                                               |
  |   Features:                                                   |
  |   - Update nodejs to version 8 (#70) (ad62730)                |
  |                                                               |
  |   Run npm i -g atscm-cli to update                            |
  |                                                               |
  |---------------------------------------------------------------|