archidocs version
Print the CLI’s version and the Bundle schemaVersion it writes.
archidocs version [--format text|json]Examples
Section titled “Examples”Print both versions as one line of text.
archidocs versionPrint them as JSON, for a CI cache key that changes when the Bundle schemaVersion does.
archidocs version --format json--format
Section titled “--format”--format text|json · Default: text.
Print a line of text, or a JSON object with version and schemaVersion.
Exit codes
Section titled “Exit codes”| 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.
See also
Section titled “See also”- Publish to another host: keys the CI cache of past Bundles by the
schemaVersionit prints.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.