Skip to content

Add mddocs status command and --version flag - #1

Merged
devYRPauli merged 2 commits into
mainfrom
feat/status-version
Jun 26, 2026
Merged

Add mddocs status command and --version flag#1
devYRPauli merged 2 commits into
mainfrom
feat/status-version

Conversation

@devYRPauli

Copy link
Copy Markdown
Owner

Two human-side CLI quality-of-life additions.

mddocs status

A repo-wide inbox: lists every open comment and pending suggestion across all managed docs in one command, grouped by file with a summary footer. No more running comment ls / suggest ls per file to find what needs attention.

  • Default view shows only actionable items (open comments + pending suggestions); docs with nothing open are omitted.
  • --all also lists resolved comments and accepted/rejected suggestions.
  • Friendly "Nothing open. All caught up." when there is nothing to show.

Reuses the existing listManagedDocs + loadDoc primitives and mirrors the existing ls line formats, so there are no changes to the engine package.

mddocs --version / -v

Reports the installed version (previously errored with unknown option). The value comes from the published package's own package.json via the launcher, falling back to 0.0.0-dev in a dev checkout.

Tests

  • status: grouping, omission of docs with nothing open, footer counts, --all inclusion, and the empty-repo message.
  • --version: reports the resolved version and the dev fallback.
  • Updated the command-list assertion to include status.

Full CLI suite and typecheck pass.

devYRPauli and others added 2 commits June 26, 2026 09:55
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…estions)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@devYRPauli
devYRPauli merged commit 3d2e5d0 into main Jun 26, 2026
2 checks passed
@devYRPauli
devYRPauli deleted the feat/status-version branch June 26, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant