Skip to content

feat: add --json output mode#58

Open
tlyyxjz wants to merge 1 commit into
promptpolish-ai:mainfrom
tlyyxjz:main
Open

feat: add --json output mode#58
tlyyxjz wants to merge 1 commit into
promptpolish-ai:mainfrom
tlyyxjz:main

Conversation

@tlyyxjz

@tlyyxjz tlyyxjz commented Jun 15, 2026

Copy link
Copy Markdown

Closes #2

Add --json flag to output repository context as structured JSON.

  • Outputs repo name, path, branch, remote, commits, branches, structure
  • Useful for programmatic consumption and AI pipeline integration
  • Backward compatible — all existing flags unchanged

Test:

git context --json --log 3

Add --json flag to output repository context as structured JSON instead
of markdown. Useful for programmatic consumption and AI pipeline integration.

Includes: repo name, path, branch, remote, recent commits, branches,
project structure tree, and optional file contents.

Closes promptpolish-ai#2
@tlyyxjz

tlyyxjz commented Jun 15, 2026

Copy link
Copy Markdown
Author

PR ready for review. Wallet address for bounty payment: 0x5AE4fCec3806aC83B32613766685d88f9a6FE4A6

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