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 +