Description
Currently, some CLI commands support --json for machine-readable output. It would be useful to also support a --markdown flag that outputs results as a Markdown table.
This would make it easy to paste command output into docs, READMEs, GitHub issues, or other Markdown-based contexts.
Applicable commands
The --markdown flag should be added where tabular output is displayed, for example:
actors search
runs ls
secrets ls
key-value-stores keys
- Any other command that renders a table
Expected behavior
Commands with the --markdown flag should output results formatted as a Markdown table, e.g.:
| Name | Description | Users (30d) | Pricing |
|------|-------------|-------------|---------|
| Web Scraper (apify/web-scraper) | ... | 123 | Free |
Description
Currently, some CLI commands support
--jsonfor machine-readable output. It would be useful to also support a--markdownflag that outputs results as a Markdown table.This would make it easy to paste command output into docs, READMEs, GitHub issues, or other Markdown-based contexts.
Applicable commands
The
--markdownflag should be added where tabular output is displayed, for example:actors searchruns lssecrets lskey-value-stores keysExpected behavior
Commands with the
--markdownflag should output results formatted as a Markdown table, e.g.: