Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

cargoship version

Shows the version of the running binary

Synopsis

Displays the version of the release that the current binary was built from.

cargoship version [flags]

Examples

# Print the version of the running binary
$ cargoship version

# Print the full build information as YAML
$ cargoship version --output yaml

# Print it as JSON, for piping into jq
$ cargoship version -o json

Options

  -h, --help                  help for version
  -o, --output outputFormat   Output format. Valid options are: yaml, json.

Options inherited from parent commands

      --log-file            Always write a full-verbosity debug log to a file, regardless of --log-level.
  -L, --log-format string   Select a logging format. Defaults to 'console'. Valid options are: 'console', 'json', 'dev'. (default "console")
  -l, --log-level string    Log level when running cargoship. Valid options are: warn, info, debug, trace (default "info")
      --no-color            Disable terminal color codes in logging and stdout prints.

SEE ALSO