Merge dev into main #1

Merged
YunxiaoXu merged 5 commits from dev into main 2026-04-04 06:42:42 -07:00
Owner

Summary

  • add watch mode for live file monitoring and opt-in debug logging across the CLI pipeline
  • improve file detection with script/env shebang handling and opt-in content guessing, with supporting pager/render updates
  • expand tests, docs, workflow coverage, and dependency metadata

Included commits

  • 0f93d3a Add watch mode for live file monitoring
  • d94cf2d Run CI on dev pushes
  • 93c777c Add opt-in debug logging across the CLI pipeline
  • 37502c3 Add script detection, env shebang parser, and opt-in content guessing
  • 6310247 Add Git workflow and update docs
## Summary - add watch mode for live file monitoring and opt-in debug logging across the CLI pipeline - improve file detection with script/env shebang handling and opt-in content guessing, with supporting pager/render updates - expand tests, docs, workflow coverage, and dependency metadata ## Included commits - 0f93d3a Add watch mode for live file monitoring - d94cf2d Run CI on dev pushes - 93c777c Add opt-in debug logging across the CLI pipeline - 37502c3 Add script detection, env shebang parser, and opt-in content guessing - 6310247 Add Git workflow and update docs
YunxiaoXu added 5 commits 2026-04-04 06:38:59 -07:00
Thread RP_DEBUG-driven logging through input, detection, rendering, and pager decisions so CLI behavior is inspectable without polluting stdout. Add focused coverage for debug wiring, env parsing, and stderr-only output.
Run CI on dev pushes
All checks were successful
CI / lint (push) Successful in -20s
CI / typecheck (push) Successful in -19s
CI / test (3.12) (push) Successful in -21s
CI / test (3.13) (push) Successful in -18s
CI / test (3.14) (push) Successful in -21s
d94cf2df30
Add watch mode for live file monitoring
All checks were successful
CI / lint (push) Successful in -26s
CI / typecheck (push) Successful in -23s
CI / test (3.12) (push) Successful in -25s
CI / test (3.13) (push) Successful in -24s
CI / test (3.14) (push) Successful in -24s
CI / lint (pull_request) Successful in -28s
CI / test (3.14) (pull_request) Successful in -24s
CI / typecheck (pull_request) Successful in -24s
CI / test (3.12) (pull_request) Successful in -25s
CI / test (3.13) (pull_request) Successful in -24s
0f93d3a095
Add --watch flag that polls a file and redraws the terminal when its
content changes. Useful for monitoring log files, configuration files,
or any file that changes over time.

Features:
- Polls file every 1 second for changes
- Disables pager (pager would block the watch loop)
- File-only: rejects stdin or - input
- Error recovery: retries when file is missing or temporarily unreadable
- State comparison: only redraws when content actually changes
YunxiaoXu merged commit 598450d9e2 into main 2026-04-04 06:42:42 -07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: YunxiaoXu/rich-print#1