MarketDeck docs

commands

Machine-readable CLI manifest for docs, plugins, and completion tooling.

marketdeck commands exposes the CLI surface as structured JSON. Use it instead of scraping --help when a plugin, docs generator, or UI needs to know which commands and subcommands exist.

Usage#

marketdeck commands <list|show> [args]
SubcommandWhat it does
listEvery built-in command with summary and subcommands.
show <command>One command schema with flags, examples, output notes, and exit codes where declared.

Examples#

marketdeck commands list --format json | jq '.items[].name'
marketdeck commands show portfolio --format json
marketdeck commands show executions --format json | jq '.flags'

The manifest is part of the CLI-first contract. Every built-in command now exposes schema detail: subcommands, flag maps, examples, output notes, and exit codes. Presentation surfaces still execute concrete commands like marketdeck portfolio snapshot --format json; the manifest is discovery metadata for forms, docs, and completion without scraping human help text.