mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
dev: fix commit linter
Forgot to add the new -C/--nocolor option for 'doom sync', and to load the 'doom ci *' family.
This commit is contained in:
@ -86,6 +86,7 @@ purpose.")
|
|||||||
(debug-p ["-d" "--debug"] "Enables on verbose output")
|
(debug-p ["-d" "--debug"] "Enables on verbose output")
|
||||||
(doomdir ["--doomdir" dir] "Use the private module at DIR (e.g. ~/.doom.d)")
|
(doomdir ["--doomdir" dir] "Use the private module at DIR (e.g. ~/.doom.d)")
|
||||||
(localdir ["--localdir" dir] "Use DIR as your local storage directory")
|
(localdir ["--localdir" dir] "Use DIR as your local storage directory")
|
||||||
|
(nocolor ["-C" "--nocolor"] "Disable colored output")
|
||||||
&optional command
|
&optional command
|
||||||
&rest args)
|
&rest args)
|
||||||
"A command line interface for managing Doom Emacs.
|
"A command line interface for managing Doom Emacs.
|
||||||
@ -101,6 +102,8 @@ Environment variables:
|
|||||||
DOOMLOCALDIR Where to store local files (normally ~/.emacs.d/.local)"
|
DOOMLOCALDIR Where to store local files (normally ~/.emacs.d/.local)"
|
||||||
(condition-case e
|
(condition-case e
|
||||||
(with-output-to! doom--cli-log-buffer
|
(with-output-to! doom--cli-log-buffer
|
||||||
|
(when nocolor
|
||||||
|
(setq doom-output-backend nil))
|
||||||
(catch 'exit
|
(catch 'exit
|
||||||
(when (and (not (getenv "__DOOMRESTART"))
|
(when (and (not (getenv "__DOOMRESTART"))
|
||||||
(or doomdir
|
(or doomdir
|
||||||
@ -204,6 +207,7 @@ Environment variables:
|
|||||||
(load! "cli/upgrade")
|
(load! "cli/upgrade")
|
||||||
(load! "cli/packages")
|
(load! "cli/packages")
|
||||||
(load! "cli/autoloads")
|
(load! "cli/autoloads")
|
||||||
|
(load! "cli/ci")
|
||||||
|
|
||||||
(defcligroup! "Diagnostics"
|
(defcligroup! "Diagnostics"
|
||||||
"For troubleshooting and diagnostics"
|
"For troubleshooting and diagnostics"
|
||||||
|
Reference in New Issue
Block a user