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