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#

FieldSource
packagepackage.json version.
nodeprocess.version.
platformprocess.platform.
archprocess.arch.
git_shaBest-effort — read from .git/HEAD if the install is a clone, else null.
sqlite_availableResult of the platform sqlite probe.
daemon_socketThe 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.