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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user