aboutsummaryrefslogtreecommitdiff
path: root/tools/autoformat.nom
blob: 6a117ec8aa573d120e56db375cfecf712f27edf9 (plain)
1
2
3
4
5
6
7
#!/usr/bin/env nomsu -V 2.2.4.3
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)