From a2d22067974d25c08b419e8f89d04791352db1bf Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 29 Jul 2022 12:54:49 +0200 Subject: [PATCH] feat(cli): allow defcli! in ci.el A project may provide a ci.el to config bin/doom's CI commands. With this, users can also define their own 'doom ci' subcommands from there. --- core/cli/ci.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/cli/ci.el b/core/cli/ci.el index ee02f1965..b31ad420c 100644 --- a/core/cli/ci.el +++ b/core/cli/ci.el @@ -257,10 +257,11 @@ Note: warnings are not considered failures.") (local-config (car (or (doom-glob repo-root "ci.el") (doom-glob doom-private-dir "ci.el"))))) - (load local-config nil t t) + (defgroup! :prefix '(doom ci) + (load local-config nil t t)) (print! (item "Loaded %S") local-config))) -(defcli! ci () +(defcli! ci (&args _) "Commands that automate development processes." :partial t)