rename orient-fileexts -> orient-files
commit 3172031fb8fec73e498f3c4d3dd590db1c4e026f · parent d1183e1e6e
· browse this tree
Ximianth, 2026-06-24 16:38:00 UTC
Pure rename in preparation for broader file-type classification (shebang-based shell detection, etc). No behavior change. README listing and the script's own self-references updated.
diff --git a/README.md b/README.md index 28b7362..3e1b323 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ or compose into larger summaries (e.g. an agent's system prompt). - `orient-cwd` -- describes the current working directory. - `orient-entrypoints` -- detects entrypoint systems (Makefile etc.) and lists their targets. -- `orient-fileexts` -- counts files by extension across a project area. +- `orient-files` -- classifies files by type (extension, shebang, etc) and counts them. - `orient-git` -- describes the surrounding git repo, if any. - `orient-project` -- inlines root orientation docs and detects a meta repo. - `skim-makefile` -- summarizes a Makefile's targets as a bullet list. diff --git a/orient-fileexts b/orient-files similarity index 97% rename from orient-fileexts rename to orient-files index 43593b9..53bed72 100755 --- a/orient-fileexts +++ b/orient-files @@ -1,7 +1,7 @@ #!/bin/bash # Counts files by extension across a project area. # -# Usage: orient-fileexts [-x|--list-extensionless] [PATH] +# Usage: orient-files [-x|--list-extensionless] [PATH] # PATH defaults to the git toplevel of cwd, else cwd itself. # # Output: a bullet list of `.ext: N` lines, sorted by count descending. @@ -34,7 +34,7 @@ while [ $# -gt 0 ]; do sed -n '2,/^$/p' "$0" | sed 's/^# \?//' exit 0 ;; --) shift; break ;; - -*) echo "orient-fileexts: unknown option: $1" >&2; exit 2 ;; + -*) echo "orient-files: unknown option: $1" >&2; exit 2 ;; *) break ;; esac done