cec version isvalid

Return an error if the passed version is not correctly formatted

Synopsis

Tries to parse the passed string version using the hashicorp/go-version library and hence validates that it respects semantic versionning rules.

In case the passed version is not valid, the process exits with status 1.

./cec version isvalid [flags]

Examples


# A valid version ./cec version isvalid 2.0.6-dev.20191205 # A *non* valid version ./cec version isvalid 2.a

Options

  -h, --help   help for isvalid

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