Added tool for finding annotations

This commit is contained in:
2026-04-12 19:11:24 +02:00
parent 81035737a2
commit 225990b22d

11
tools/show-annotations.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
#NOTE: This tool require you to install https://gitea.efforting.tech/mikael-lovqvist/shell-utils but you could remove the last line if you don't want that.
#Example use: From the source-directory run ../tools/show-annotations.sh
grep --color=always \
-rne '//[A-Z ]*:' \
--include "*.mjs" \
--exclude-dir node_modules \
| grep-mtime-sorter | ansi-trunc -l 250