cec version isgreater

Compares the two passed versions and returns an error if the first is not strictly greater than the second

Synopsis

Tries to parse the passed string versions using the hashicorp/go-version library and returns an error if: - one of the 2 strings is not a valid semantic version, - the first version is not strictly greater than the second

./cec version isgreater [flags]

Examples


# This exits with status 1. ./cec version isgreater 2.0.6-dev.20191205 2.0.6

Options

  -h, --help   help for isgreater

Options inherited from parent commands

  -c, --config string   Path to the configuration file

SEE ALSO

  • ./cec version - Show current version of this application (and some utils)
Auto generated by Cells Client v2.0.1 on 10-Jan-2020
Back to top