From 225990b22dc811cf97249b616234a3d931d9a658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20L=C3=B6vqvist?= Date: Sun, 12 Apr 2026 19:11:24 +0200 Subject: [PATCH] Added tool for finding annotations --- tools/show-annotations.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 tools/show-annotations.sh diff --git a/tools/show-annotations.sh b/tools/show-annotations.sh new file mode 100755 index 0000000..883bebd --- /dev/null +++ b/tools/show-annotations.sh @@ -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 +