Skip to content

feat: Add --json output mode - #70

Open
gianmarcozap wants to merge 1 commit into
promptpolish-ai:mainfrom
gianmarcozap:feat/json-output
Open

feat: Add --json output mode#70
gianmarcozap wants to merge 1 commit into
promptpolish-ai:mainfrom
gianmarcozap:feat/json-output

Conversation

@gianmarcozap

Copy link
Copy Markdown

Fixes #2.

This PR adds the --json\ flag to output the git context as a structured JSON object.
It collects all the existing properties (repo, path, git info, branch structure, and file contents) and neatly formats them using \json.dumps(..., indent=2)\ instead of the standard markdown text stream.

Claiming for the crypto bounty.
Wallet (ETH/EVM): 0xBd6B1B6118eC9D736EE1d5E476f86BCA1b3739f5

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.

Add --json output mode (Bounty: $2 crypto)

1 participant