Closed ashiklom closed 7 years ago
OK, I think I got everything. I made it so sncli -k <key> tag
prints the usage, so that all of the Tag API commands have a consistent tag COMMAND
syntax. But it's easy to change the behavior if you prefer.
As a side thought, at some point in the future, it could be fun to revise this to use a condensed, bash-like syntax like this...
# Add tag1, remove tag4
sncli -k <key> tag "+tag1,-tag4"
...but I'm happy with the current system for now.
Nice! :)
Thanks @ashiklom !
This implements the syntax in #45. The following syntax should work (and works in my local tests):