Blob


1 # acmetag
3 [![Go Documentation](https://godocs.io/go.omarpolo.com/acmetag?status.svg)](https://godocs.io/go.omarpolo.com/acmetag)
5 go get go.omarpolo.com/acmetag
7 `acmetag` is a tool to programmatically interact with `acme(1)` tag
8 bar. It provides two flag:
10 * `-g` prints the tag content (mnemonic: get)
11 * `-c` clears the tag content (mnemonic: clear)
13 Any other argument (if passed) will be appended to the tag bar.
15 Of course, you can combine the flags:
17 acmetag -g -c fmt
19 will first print the current tag content, than clears it and then append
20 `fmt`.
23 ### Limitations
25 * It cannot change the text *before* the `|` character.
28 ### Tips
30 I'm using `acmetag` with [`autoacme`][autoacme] to automatically set
31 the tag content based on file type.
33 [autoacme]: https://github.com/mkhl/cmd/tree/master/acme/autoacme