xtraq version [options]
Typical output during the RC cycle:
Version: 1.0.6
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.| Aspect | Details |
|---|---|
| Invocation | xtraq version. |
| Reads | Assembly informational version; optional update feed when verbose output is requested. |
| Writes | Console output only. |
| Exit codes | 0 success; non-zero indicates version metadata could not be read or an unexpected runtime failure. |
| Notes | Respects --verbose and --ci; never touches project configuration files. |
# Show local and remote versions (useful in CI)
xtraq version --ci
# Inspect diagnostic output while troubleshooting feed issues
xtraq version --verbose
build
Executes code generation based on current configuration. Generates runtime artefacts (table types, procedure wrappers, DbContext helpers) using the metadata stored under `.xtraq/snapshots/`. JSON helpers ship enabled by default—no preview flags required.
update
Update the installed xtraq global tool to the latest available version. Installs the latest published xtraq global tool package on the current machine. When invoked from CI this command can keep runner environments current before a build.