Created
January 23, 2023 14:38
-
-
Save jpbochi/302e9fd8d4a67f1e53a54e3ef064d63b to your computer and use it in GitHub Desktop.
justfile recipe to list all recipes in subdirs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lists all available just recipes, even from justfiles in subdirectories | |
list: | |
@just -l | |
@find -mindepth 2 -maxdepth 5 -type f -name justfile -printf '%h/\n' | sed 's_^[.]/__' | sort | xargs -n1 -I% just -l --list-prefix ' %' % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment