Commands

version

Prints the currently installed xtraq tool version and checks for the latest published package.

Usage

xtraq version [options]

Typical output during the RC cycle:

Version: 1.0.6

Options

xtraq version does not define command-specific options. The global switches from the CLI overview continue to apply:

  • -v, --verbose emits additional diagnostic information (e.g., configured feeds).
  • --ci forces plain-text output for build logs.

Behavior Contract

AspectDetails
Invocationxtraq version.
ReadsAssembly informational version; optional update feed when verbose output is requested.
WritesConsole output only.
Exit codes0 success; non-zero indicates version metadata could not be read or an unexpected runtime failure.
NotesRespects --verbose and --ci; never touches project configuration files.

Examples

# Show local and remote versions (useful in CI)
xtraq version --ci

# Inspect diagnostic output while troubleshooting feed issues
xtraq version --verbose