Skip to content

archidocs version

Print the CLI’s version and the Bundle schemaVersion it writes.

archidocs version [--format text|json]

Print both versions as one line of text.

Terminal window
archidocs version

Print them as JSON, for a CI cache key that changes when the Bundle schemaVersion does.

Terminal window
archidocs version --format json

--format text|json · Default: text.

Print a line of text, or a JSON object with version and schemaVersion.

Code Meaning
0 The version was printed.
2 It could not run: an unknown flag, a flag missing its value, or an unknown format.

Exit 2 prints the reason to stderr as archidocs: <message>, and after most mistakes in the command line, the usage summary.

Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.