Skip to content

Add explicit report output files - #8

Merged
kanuwrld merged 1 commit into
mainfrom
feature/output-file
Jul 30, 2026
Merged

Add explicit report output files#8
kanuwrld merged 1 commit into
mainfrom
feature/output-file

Conversation

@kanuwrld

Copy link
Copy Markdown
Owner

What changed

  • add --output PATH while preserving stdout as default;
  • write UTF-8 reports with exactly one trailing newline;
  • surface missing parent and write failures as exit code 2;
  • expose destination through composite Action input;
  • document behavior and add regression tests.

Why

Direct file output works consistently across shells and operating systems.
Automation no longer needs fragile redirection.

Closes #5.

Pairing

Implementation created by Codex Agent from requirements and product decisions
co-authored by @kanuwrld. Commit contains GitHub-recognized
Co-authored-by metadata.

Validation

  • python -m unittest discover -s tests -v — 15 passed
  • python -m compileall -q src tests
  • generated JSON file parsed with python -m json.tool
  • git diff --check

Risk

Low. Default stdout behavior and existing formats remain unchanged.

Co-authored-by: kanuwrld <203080950+kanuwrld@users.noreply.github.com>
@kanuwrld
kanuwrld merged commit a68e1f9 into main Jul 30, 2026
5 checks passed
@kanuwrld
kanuwrld deleted the feature/output-file branch July 30, 2026 16:39
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 explicit output file support

1 participant