Skip to content

Add Markdown output to dispatch compare - #427

Open
jongio wants to merge 1 commit into
mainfrom
add-compare-markdown
Open

jongio wants to merge 1 commit into
mainfrom
add-compare-markdown

Conversation

@jongio

@jongio jongio commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Adds a --markdown output format to dispatch compare, matching the Markdown option already on stats, tags, and info.

dispatch compare <a> <b> --markdown renders the session comparison as Markdown: a header table of the two session IDs, a metadata differences table, and bulleted lists for checkpoint titles and file/ref diffs. This makes it easy to paste a comparison into an issue or PR.

  • --markdown and --json cannot be combined (returns a clear error).
  • Table cells are escaped through the existing markdownCell helper so pipes and backticks keep the tables valid.
  • Updated help output, the man page, and the README.
  • Added tests for flag parsing, Markdown output, and the identical-sessions case.

Closes #426

Add a --markdown flag to dispatch compare that renders the session comparison as Markdown tables and lists for pasting into issues and PRs. --markdown and --json cannot be combined. Update help, man page, and README.

Closes #426

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jongio jongio added the idea Feature idea from the idea pipeline label Sep 26, 2026
@jongio jongio self-assigned this Sep 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

idea Feature idea from the idea pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Markdown output to dispatch compare

1 participant