Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/omar-polo/acmetag

utility to manage current acme(1) tag
https://github.com/omar-polo/acmetag

acme editor

Last synced: 8 days ago
JSON representation

utility to manage current acme(1) tag

Awesome Lists containing this project

README

        

# 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