feat: nh format custom command

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-05-04 14:30:20 -03:00
parent f22fcb4653
commit c0243cc0c4

View File

@@ -138,6 +138,13 @@ case "$1" in
;;
esac
;;
"format")
pushd "$FLAKE_DIR" > /dev/null
format_files
popd > /dev/null
;;
"--")
shift 1
nh "$@"