Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

feat: add printaffixes command to justfile

hippietrail73a5182d3ded
diff --git a/justfile b/justfile
index 041d0de38..7c7bab583 100644
--- a/justfile
+++ b/justfile
@@ -286,3 +286,9 @@ fuzz:
exit $?
fi
done
+
+# Print affixes and their descriptions from affixes.json
+printaffixes:
+ #! /bin/bash
+ node -e "Object.entries(require('./harper-core/affixes.json').affixes).forEach(([key, value]) => { if (value['#']) console.log(key + ': ' + value['#']); });"
+
\ No newline at end of file