Commit Briefs

Omar Polo

prettify usage (master, tags/v1.2)


Omar Polo

go get -u; go mod tidy


Omar Polo

fix badge; links godocs.io


Omar Polo

move to go.omarpolo.com


Omar Polo

add godoc badge (tags/v1.1)


Branches

Tags

Tree

.gitignorecommits | blame
LICENSEcommits | blame
README.mdcommits | blame
go.modcommits | blame
go.sumcommits | blame
main.gocommits | blame

README.md

# acmetag

[![Go Documentation](https://godocs.io/go.omarpolo.com/acmetag?status.svg)](https://godocs.io/go.omarpolo.com/acmetag)

	go get go.omarpolo.com/acmetag

`acmetag` is a tool to programmatically interact with `acme(1)` tag
bar.  It provides two flag:

 * `-g` prints the tag content (mnemonic: get)
 * `-c` clears the tag content (mnemonic: clear)

Any other argument (if passed) will be appended to the tag bar.

Of course, you can combine the flags:

	acmetag -g -c fmt

will first print the current tag content, than clears it and then append
`fmt`.


### Limitations

 * It cannot change the text *before* the `|` character.


### Tips

I'm using `acmetag` with [`autoacme`][autoacme] to automatically set
the tag content based on file type.

[autoacme]: https://github.com/mkhl/cmd/tree/master/acme/autoacme