feat: add ago and retry - #8
Open
fabiocicerchia wants to merge 2 commits into
Open
Conversation
Two small tools in the spirit of the archived skx/sysadmin-util, written from scratch: - `ago FILE` - how long ago a file was modified, human readable. - `retry [-n MAX] [-d DELAY] CMD` - repeat a command until it exits zero. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Reports the markers left behind for a later pass, with the author when one is tagged as TODO(fabio) or TODO @fabio. Inside a git work tree the file list comes from `git ls-files`, so .gitignore is honoured and vendored trees stay out of the report; elsewhere the walk prunes the usual build and dependency directories. Binaries are skipped by extension and by a NUL byte in the first block. A marker quoted on its own is code handling a marker name rather than a note, so it is not reported: without that the marker table in the script itself shows up in every scan. The count goes to stderr to keep the findings on stdout pipeable, and --strict exits 1 on the first marker so a build can be gated on it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LxcekZMSbpxzdQkJ51xrKS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Generated with Claude Code
https://claude.ai/code/session_01EDFUqGmu4Wp4ZDcY1nUcMA