The document said:
tag <tag-command> [tag] [note]
can be "add", "remove" or "list" to assign or remove [tag]
from [note], or to list the notes associated with [tag].
But it doesn't say how to create a new one.
If I use:
joplin tag add tg1
The result would be:
Cannot find "undefined"
So what's the proper command to create a new tag?