feat(cli): add promote, cards, copy, demote, delete, edit commands

Complete CLI crystallization loop. Promote generates card_data
(template slots, checklist steps, link URLs). Cards view sorted by
use_count. Copy increments usage. Demote strips card layer. Delete
does soft then hard. Edit opens $EDITOR.
This commit is contained in:
2026-05-14 11:28:17 -04:00
parent a6fda5d1ee
commit c3cc9464b9
7 changed files with 431 additions and 2 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ func DisplayGlyph(glyph db.Glyph, cardType *db.CardType) string {
}
func FormatID(id string) string {
if len(id) > 6 {
return id[:6]
if len(id) > 12 {
return id[:12]
}
return id
}