skrzynka version
Return Skrzynka's machine-readable product, package version, and source revision identity.
Invocation#
skrzynka versionPurpose#
Return Skrzynka's machine-readable product, package version, and source revision identity.
Inputs and options#
| Input or option | Required | Meaning |
|---|---|---|
| None | No | This command has no command-specific inputs or options. |
Global --organization <ID>, --skarbiec-bin <PATH> and --text are accepted by Clap; this command needs no organization and answers before the database is opened.
Output and state effect#
Prints {"product":"skrzynka","version":<PACKAGE_VERSION>,"source":<REVISION>} as pretty JSON and exits 0 before opening SQLite. source is the compile-time SKRZYNKA_SOURCE_REVISION, or source-build when unset.
Refusals#
- There is no application-layer refusal: this branch returns before database and Skarbiec initialization. Invalid extra arguments are refused by Clap with exit 2.