Added tool for finding annotations
This commit is contained in:
11
tools/show-annotations.sh
Executable file
11
tools/show-annotations.sh
Executable 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user