shakacode / control-plane-flow

The power of Kubernetes with the ease of Heroku! Our playbook for migrating from Heroku to Control Plane, controlplane.com, and our cpflow CLI source
Other
43 stars 2 forks source link

Make version check only once or disable fully when using cpln CLI #192

Closed dzirtusss closed 5 months ago

dzirtusss commented 5 months ago

E.g. output for ps:wait

IMO, it better be disabled check on cpln when it is used as cli, and might be done only once on cpl start.

Please upgrade when possible
.There is a new version of cpln available: 2.2.2
Your current version is: 2.2.1
Please upgrade when possible
.There is a new version of cpln available: 2.2.2
Your current version is: 2.2.1
Please upgrade when possible
.There is a new version of cpln available: 2.2.2
Your current version is: 2.2.1
Please upgrade when possible
.There is a new version of cpln available: 2.2.2
Your current version is: 2.2.1
Please upgrade when possible
.There is a new version of cpln available: 2.2.2
Your current version is: 2.2.1
Please upgrade when possible
.There is a new version of cpln available: 2.2.2
Your current version is: 2.2.1
Please upgrade when possible
.There is a new version of cpln available: 2.2.2
Your current version is: 2.2.1
Please upgrade when possible
.There is a new version of cpln available: 2.2.2
Your current version is: 2.2.1
Please upgrade when possible
.There is a new version of cpln available: 2.2.2
Your current version is: 2.2.1
Please upgrade when possible
.
rafaelgomesxyz commented 5 months ago

It has already been done: https://github.com/shakacode/control-plane-flow/pull/180