Throw warning when a new version exists
Open
enhancement
Team:Delivery
- Dominant language
- Go
- Stars
- 58
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
## Overview
There can be unintended consequences when a new version of `ecctl` exists and it isn't being used, like losing some parts of the Deployment update payload or other payloads when new fields are introduced in the API and the models haven't been updated to reflect these changes.
## Possible Implementation
Check if there are new versions of `ecctl` available, and if so, throw a warning to the standard error device.
A flag should also be added to suppress these warnings.
## Context
depends on https://github.com/elastic/uptd/issues/3
Contributor guide
Assessment
This issue has not been assessed yet.