Blame


1 2c31ce4d 2019-10-26 op # acmetag
2 2c31ce4d 2019-10-26 op
3 2c31ce4d 2019-10-26 op `acmetag` is a tool to programmatically interact with `acme(1)` tag. It provides two flag:
4 2c31ce4d 2019-10-26 op
5 2c31ce4d 2019-10-26 op * `-g` prints the tag content (mnemonic: get)
6 2c31ce4d 2019-10-26 op * `-c` clears the tag content (mnemonic: clear)
7 2c31ce4d 2019-10-26 op
8 2c31ce4d 2019-10-26 op any other arguments if passed will be appended to the tag.
9 2c31ce4d 2019-10-26 op
10 2c31ce4d 2019-10-26 op Of course you can combine the flags:
11 2c31ce4d 2019-10-26 op
12 2c31ce4d 2019-10-26 op acmetag -g -c fmt
13 2c31ce4d 2019-10-26 op
14 2c31ce4d 2019-10-26 op will first print the current tag content, than clears it and then append
15 2c31ce4d 2019-10-26 op `fmt`.
16 2c31ce4d 2019-10-26 op
17 2c31ce4d 2019-10-26 op I'm using `acmetag` with [`autoacme`][autoacme] to automatically set
18 2c31ce4d 2019-10-26 op the tag content based on file type.
19 2c31ce4d 2019-10-26 op
20 2c31ce4d 2019-10-26 op [autoacme]: https://github.com/mkhl/cmd/tree/master/acme/autoacme