Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
chore: changed `just printaffixes` to use a "shebang recipe"
hippietrail621a95875a20
diff --git a/justfile b/justfileindex 7c7bab583..524d11963 100644--- a/justfile+++ b/justfile@@ -289,6 +289,10 @@ fuzz:# Print affixes and their descriptions from affixes.jsonprintaffixes:- #! /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+ #! /usr/bin/env node+ Object.entries(+ require('{{justfile_directory()}}/harper-core/affixes.json').affixes+ ).forEach(([affix, fields]) => {+ const description = fields['#'] || '';+ description && console.log(affix + ': ' + description);+ });