Skip to content

Enhance CLI with TTY-aware Console and JSON output support#12

Merged
sukanth merged 2 commits into
masterfrom
adding-colors
May 4, 2026
Merged

Enhance CLI with TTY-aware Console and JSON output support#12
sukanth merged 2 commits into
masterfrom
adding-colors

Conversation

@sukanth
Copy link
Copy Markdown
Owner

@sukanth sukanth commented May 4, 2026

What this PR does

Why

How to test

Checklist

  • Tests pass (pytest -q)
  • New behavior is covered by tests (if applicable)
  • README or docs updated (if applicable)

Sukanth Gunda and others added 2 commits May 3, 2026 22:34
Introduce a small TTY-aware Console and add JSON/machine output modes across the CLI. Add src/mindmark/_console.py and defaults.py; refactor CLI to use Console, emit JSON for sync/validate/enrich/stats/find/list-browsers, improve error handling, add --no-color and stable JSON shapes. Refactor index to use shared defaults and bump package version to 0.1.6. Harden browser collection logic and add comprehensive cross-platform browser-detection tests (pytest), plus tweaks to browsers.__init__ and tests for parsing/filters. Update README with examples and docs for TTY/JSON behavior and storage layout. Overall: better CLI UX, machine-friendly outputs, and improved test coverage.
@sukanth sukanth merged commit 8da1b50 into master May 4, 2026
9 checks passed
@sukanth sukanth deleted the adding-colors branch May 4, 2026 02:39
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