Prevent Kubernetes misconfigurations from reaching production (again 😤 )! From code to cloud, Datree provides an E2E policy enforcement solution to run automatic checks for rule violations. See our docs: https://hub.datree.io
Add new upgrade command to install the latest datree version.
The command should support only macOS & Linux.
The command should check if the user installed Datree with brew and if so, the command should fail and return a message “Looks like you installed Datree via brew, to upgrade datree run - brew upgrade datree”
The command should not support pinned or user-defined versions.
Describe the solution you'd like
Add new
upgrade
command to install the latest datree version.Requirements Golang mid-level.
Reference: https://github.com/cli/cli/blob/trunk/pkg/cmd/extension/command.go