mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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.
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user