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