Skip to content

Instantly share code, notes, and snippets.

Avatar

Warren James W-A-James

  • MongoDB
  • Brooklyn, NY
View GitHub Profile
@W-A-James
W-A-James / find_todos.sh
Created Nov 8, 2022
Checks for todos in the current repository
View find_todos.sh
#!/bin/bash
set -e
todo_message=""
directory="."
has_ripgrep() {
which "rg" | grep "not found"
case $? in
0) # no ripgrep found