gojek / proctor

A Developer-Friendly Automation Orchestrator
Apache License 2.0
123 stars 43 forks source link

Have proctor CLI update itself #36

Open olttwa opened 5 years ago

olttwa commented 5 years ago

As an admin,

Post being [notified from the CLI on a new release of Proctor CLI](), users can update proctor from the CLI itself. Example: proctor update <version(optional)>

ppwfx commented 5 years ago

Hey, I'm planning a similar feature for one of my clis. Do you already have an idea how you want to approach it?

olttwa commented 5 years ago

@ppwfx No ideas yet.

Currently we have installation using homebrew (link: https://github.com/gojek/homebrew-gojek/blob/master/Formula/proctor.rb) and brew upgrade proctor works for us.

We were planning to take inspiration from gcloud CLI for accomplishing this

ppwfx commented 5 years ago

Interesting cheers! I also stumbled upon https://github.com/rhysd/go-github-selfupdate in the meantime