Skip to content

Add JSON output mode#52

Open
Autowebassat-blip wants to merge 1 commit into
promptpolish-ai:mainfrom
Autowebassat-blip:add-json-output
Open

Add JSON output mode#52
Autowebassat-blip wants to merge 1 commit into
promptpolish-ai:mainfrom
Autowebassat-blip:add-json-output

Conversation

@Autowebassat-blip

Copy link
Copy Markdown

Closes #2.

Adds a --json flag that emits the same repo context as machine-readable JSON, including repo metadata, git status, recent commits, branches, project structure, and optional file contents.

Also documents the new flag in the README.

Tests:

  • python3 git-context --dir . --depth 1 --log 1
  • python3 git-context --dir . --depth 1 --log 1 --json | python3 -m json.tool
  • python3 -m git_context --dir . --depth 1 --log 0 --json | python3 -m json.tool

/claim #2

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