ng
ng copied to clipboard
provide a ngfmt command like gofmt
we should probably have the equivalent of gofmt
for ng
scripts. (ngfmt
?)
Yes, we need a printer
package. My hope is the format
package can do a big chunk of the work. One of the big missing pieces is having the parser record comments in the AST.
You could even format the shell code, if that would be useful: https://godoc.org/mvdan.cc/sh/syntax#Printer