MarketDeck docs
version
Print build + runtime identity — package version, Node version, platform, git SHA, sqlite availability.
marketdeck version prints a small identity block describing the build you are running. Useful in bug reports and for confirming that a git pull actually changed which commit marketdeck points at.
Usage#
marketdeck version
What it reports#
| Field | Source |
|---|---|
package | package.json version. |
node | process.version. |
platform | process.platform. |
arch | process.arch. |
git_sha | Best-effort — read from .git/HEAD if the install is a clone, else null. |
sqlite_available | Result of the platform sqlite probe. |
daemon_socket | The default daemon socket path. |
Examples#
marketdeck version
marketdeck version --format text
Why the git SHA is "best-effort"#
A npm install -g marketdeck install has no .git dir, so the git SHA reads as null. A git clone + npm link install reads the SHA out of .git/HEAD directly without shelling out — fast and dependency-free.