Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/omar-polo/acmetag
- Owner: omar-polo
- License: isc
- Created: 2019-10-26T15:30:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-27T08:47:47.000Z (almost 2 years ago)
- Last Synced: 2023-03-05T04:42:50.316Z (over 1 year ago)
- Topics: acme, editor
- Language: Go
- Homepage: https://godocs.io/go.omarpolo.com/acmetag
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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