slack version
Print the version number
Synopsis
All software has versions. This is ours.
Version numbers follow the semantic versioning specification (semver)
and are always prefixed with a v
, such as v3.0.1
.
Given a version number MAJOR.MINOR.PATCH:
- MAJOR versions have incompatible, breaking changes
- MINOR versions add functionality that is a backward compatible
- PATCH versions make bug fixes that are backward compatible
Experiments are patch version until officially released.
Development builds use git describe
and contain helpful info,
such as the prior release and specific commit of the build.
Given a version number v3.0.1-7-g822d09a
:
v3.0.1
is the version of the prior release7
is the number of commits ahead of thev3.0.1
git tagg822d09a
is the git commit for this build, prefixed withg
slack version [flags]
Examples
$ slack version # Print version number using the command
$ slack --version # Print version number using the flag
$ slack --version --skip-update # Print version and skip update check
Options
-h, --help help for version
Options inherited from parent commands
-a, --app string use a specific app ID or environment
--config-dir string use a custom path for system config directory
-e, --experiment strings use the experiment(s) in the command
-f, --force ignore warnings and continue executing command
--no-color remove styles and formatting from outputs
-s, --skip-update skip checking for latest version of CLI
-w, --team string select workspace or organization by team name or ID
--token string set the access token associated with a team
-v, --verbose print debug logging and additional info
SEE ALSO
- slack - Slack command-line tool