kaspiana / mage

A command-line tool for cataloguing images (particularly digital art), styled after Git.
0 stars 0 forks source link

Use slash character to denote ID references #16

Closed kaspiana closed 3 months ago

kaspiana commented 3 months ago

Fixes #4

Previously, the @ symbol was used for this purpose, but as it seems to cause issues in terminals, it was removed entirely. However, this itself is problematic with regard to reference string resolution, as it required names not to start with numbers. As such, ID references are now once denoted with a special character, the slash.

Old:


mage taxonym 10 # see information about taxonym with ID 10

New:


mage taxonym /10 # see information about taxonym with ID 10