aboutsummaryrefslogtreecommitdiff
path: root/tools/autoformat.nom
diff options
context:
space:
mode:
Diffstat (limited to 'tools/autoformat.nom')
-rw-r--r--tools/autoformat.nom6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/autoformat.nom b/tools/autoformat.nom
new file mode 100644
index 0000000..a755b09
--- /dev/null
+++ b/tools/autoformat.nom
@@ -0,0 +1,6 @@
+use "core"
+use "lib/os.nom"
+
+for %path in (=lua "arg"):
+ for file %filename in %path:
+ say ((parse (read file %filename) from %filename) as nomsu)