Outdated Version

You are viewing an older version of this section. View current production version.

version

Display the version of a MemSQL tool.

Usage

memsql-toolbox-config version [flags]
memsql-deploy version [flags]
memsql-admin version [flags]
memsql-report version [flags]
memsqlctl version [flags]

Flags:
      --commit-hash   Display the commit hash instead of the version number
  -h, --help          help for version

Global Flags:
  -c, --config FILE_PATH       the Toolbox configuration file path
  -j, --json                   Enable JSON output
      --socket-dir FILE_PATH   where to put SSH ControlMaster sockets
      --state-file FILE_PATH   the Toolbox state file path
      --timeout duration       Maximum time for operation to complete (e.g., 30s, 10m, 1.5h)
  -v, --verbosity count        Increase logging verbosity
  -y, --yes                    Enable non-interactive mode and assume the user would like to move forward with the proposed actions by default

Remarks

This command is interactive unless you use either the --yes or --json flags to override interactive behavior.

Output

The following example uses the version command to display the version of the currently-installed memsql-deploy tool.

memsql-deploy version
1.0.0