From a85d774f73ad75615f599c9c6f4d319e7558b6b4 Mon Sep 17 00:00:00 2001 From: BirDt_ Date: Sun, 31 May 2026 18:46:25 +0800 Subject: [PATCH] Stub apps --- userland/theurgy-projects.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/userland/theurgy-projects.el b/userland/theurgy-projects.el index e6658ac..5ee430d 100644 --- a/userland/theurgy-projects.el +++ b/userland/theurgy-projects.el @@ -93,6 +93,24 @@ This returns nil if no project is found." (interactive) (customize-group 'whaler)) +(defcustom apps-directory nil + "Directory that contains apps within the current folder. +Set this in .dir-locals.el." + :type 'string + :group 'theurgy + :group 'theurgy-projects) + +(defcustom apps-commands nil + "Commands to run on apps in the given directory. An alist of symbols, for example: +'((start . \"npm run start\"))" + :type 'alist + :group 'theurgy + :group 'theurgy-projects) + +(defun run-app-command () + "Run a command from APPS-COMMANDS, in one of the subfolders of APPS-DIRECTORY." + (interactive)) + (provide 'theurgy-projects) ;;; theurgy-projects.el ends here