4meepo / tagalign

Align and sort tags for Go struct.
MIT License
24 stars 3 forks source link

Alignment from stdin #12

Open oleorhagen opened 2 months ago

oleorhagen commented 2 months ago

Hi, I am currently looking into plugging this into my editor.

Would you be inclined to accept a contribution where the tool reads from stdin, or a single file?

I do not want to apply this to whole packages atm, due to history etc.

4meepo commented 2 months ago

For single file, try

tagalign {filename}

Stdin is not supported for now. Contribution is always welcome. ❤️