Skip to content

cli: add --output file option to receipt --markdown - #201

Open
chayu163 wants to merge 1 commit into
mikehasa:mainfrom
chayu163:fix/receipt-markdown-output
Open

chayu163 wants to merge 1 commit into
mikehasa:mainfrom
chayu163:fix/receipt-markdown-output

Conversation

@chayu163

Copy link
Copy Markdown

Summary

  • Adds --output <path> to receipt --markdown (src/agentacct/cli.py:9866), writing the rendered Markdown receipt to a file instead of stdout.

Fixes #200

Test plan

  • pytest -q
  • Secret scan
  • No paid provider calls

Safety checklist

  • Preserves local-first behavior
  • Does not store API keys or secrets
  • Does not expose localhost services publicly by default
  • Does not control processes agentacct did not start
  • Provider/API forwarding remains opt-in and budget-gated
  • JSON output paths remain machine-readable when --json is used

Docs

  • Help text only — no README change
  • Public docs avoid private strategy/roadmap claims

Write the rendered Markdown receipt to a file instead of stdout.

This branch has not been deployed

No deployments
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.

feat: add --output file option to receipt --markdown

1 participant