cec version isvalid
Check if a given string represents a valid version
Synopsis
DESCRIPTION
Check the passed string to validate that it respects semantic versioning rules. It returns an error if the string is not correctly formatted.
Under the hood, we try to parse the version string using the hashicorp/go-version library. - If the passed version is not valid, the process exits with status 1. - When it is valid, the process simply exits with status 0.
EXAMPLES
A valid version: cec version isvalid 2.0.6-dev.20191205
A non valid version: cec version isvalid 2.a
cec version isvalid [flags]
Options
-h, --help help for isvalid
Options inherited from parent commands
--config string Location of Cells Client's config files, usually /home/bsinou/.config/pydio/cells-client
--login string The user login, for Client auth only
--no_cache Force token refresh at each call. This might slow down scripts with many calls
--password string The user password, for Client auth only
--skip_keyring Explicitly tell the tool to *NOT* try to use a keyring, even if present. Warning: sensitive information will be stored in clear text
--skip_verify By default the Cells Client verifies the validity of TLS certificates for each communication. This option skips TLS certificate verification
-t, --token string A valid Personal Access Token
-u, --url string The full URL of the target server
SEE ALSO
- cec version - Show Cells Client version information