Skip to content

feat: add --json output mode#48

Open
nkar123412-hub wants to merge 2 commits into
promptpolish-ai:mainfrom
nkar123412-hub:main
Open

feat: add --json output mode#48
nkar123412-hub wants to merge 2 commits into
promptpolish-ai:mainfrom
nkar123412-hub:main

Conversation

@nkar123412-hub

Copy link
Copy Markdown

Implemented the requested --json flag to allow the tool to output project context in a structured JSON format.

Changes:

  • Added argument to CLI.
  • Implemented data collection into a dictionary for flexible output.
  • Added a for automated verification.

Verification:

  • JSON output is valid and contains all required fields.
  • Default text output remains unchanged.
  • Graceful failure for non-git repositories is preserved.
  • All tests passed.

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