Add `lainoa format` command
uesteibar opened this issue · comments
Unai Esteibar commented
it expects a list of files
> lainoa format ./*.ln
and it formats those files. The process is simple:
- Read the file
- Build the ast program
- write program.String() to the file
it won't be configurable at all.