tweak(cli): move doom {version,doctor,info} to top-level

These commands apply to all categories and so shouldn't have their
own (and should be displayed above the others) in 'doom help's command
listing.
This commit is contained in:
Henrik Lissner
2024-11-13 17:23:14 -05:00
parent 87833005fd
commit 1ee4a0a6ec

View File

@ -257,11 +257,15 @@ SEE ALSO:
;; load them lazily.
(defcli-group!
:prefix 'doom
(defcli-alias! ((version v)) (:root :version))
;; Import this for implicit 'X help' commands for your script:
(defcli-alias! ((help h)) (:root :help))
;; And suggest its use when errors occur.
(add-to-list 'doom-help-commands "%p h[elp] %c")
(defcli-autoload! ((doctor doc)))
(defcli-autoload! (info))
(defcli-group! "Config Management"
:docs "Commands for maintaining your Doom Emacs configuration."
(defcli-autoload! ((sync s)))
@ -279,12 +283,6 @@ SEE ALSO:
;; (load! "profile" dir)
)
(defcli-group! "Diagnostics"
:docs "Commands for troubleshooting and debugging Doom."
(defcli-autoload! ((doctor doc)))
(defcli-autoload! (info))
(defcli-alias! ((version v)) (:root :version)))
(defcli-group! "Development"
:docs "Commands for developing or launching Doom."
(defcli-autoload! (ci))