support for maniupulating vcard categories
[confetti] / pages / cards.sh
index b9254ff..b0e7e94 100755 (executable)
@@ -58,6 +58,11 @@ list_hi_companies(){
   | sort -u
 }
 
+list_categories() {
+  catfile="${_DATA}/mappings/categories"
+  sort -u "$catfile"
+}
+
 listcards() {
   case "${_GET[filtertype]}" in
     any)