Added show-symbols
authorSaba Saba <saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:19 +0000 (12:26 -0500)
committerSaba Saba <saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:19 +0000 (12:26 -0500)
git-repl.cl

index 5577bce..82289ac 100644 (file)
   (do-external-symbols (sym)
     (format t "~a~%" sym)))
 
+(defun-public show-symbols ()
+  "Lists every available symbol. Use (describe 'symbol-name) for documentation."
+  (do-symbols (sym)
+    (format t "~a~%" sym)))
+
 (defun-public status ()
   "Displays the current status of the repository"
   (git "status"))