print-related code for choices (menu items that the user could choose at their current path)
print-related code for choices (menu items that the user could choose at their current path)
takes the current ctx-atm and formats the currently available choices except the always-available invisible common choices from the parsed menu edn (if any) as a single string
takes the current ctx-atm and formats the currently available choices except the always-available invisible common choices from the parsed menu edn (if any) as a single string
given the ctx-atm, formats the entry-name as a sub-menu and returns the string
given the ctx-atm, formats the entry-name as a sub-menu and returns the string
(get-display-info-as-map ctx-atm [k m])
take a kv pair from a menu and return a map containing the info needed to display it as a menu choice. if it's a choice to enter a sub-menu, that will be indicated by its resulting name.
take a kv pair from a menu and return a map containing the info needed to display it as a menu choice. if it's a choice to enter a sub-menu, that will be indicated by its resulting name.
(strip-margins s)
because we used print-table and don't need the left and right margins
because we used print-table and don't need the left and right margins
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close