Group 'doom refresh' with maintenance commands
This commit is contained in:
parent
1c402950af
commit
e3f8674297
1 changed files with 31 additions and 31 deletions
|
@ -219,6 +219,8 @@ BODY will be run when this dispatcher is called."
|
|||
(load! "cli/help")
|
||||
(load! "cli/install")
|
||||
|
||||
(defcligroup! "Maintenance"
|
||||
"For managing your config and packages"
|
||||
(defcli! (refresh re sync)
|
||||
((if-necessary-p ["-n" "--if-necessary"] "Only regenerate autoloads files if necessary")
|
||||
(purge-p ["-p" "--purge"] "Also purge orphaned repos and ELPA packages"))
|
||||
|
@ -260,19 +262,17 @@ stale."
|
|||
(doom-cli-byte-compile nil 'recompile))
|
||||
t))
|
||||
|
||||
(load! "cli/env")
|
||||
(load! "cli/upgrade")
|
||||
(load! "cli/packages")
|
||||
(load! "cli/autoloads"))
|
||||
|
||||
(defcligroup! "Diagnostics"
|
||||
"For troubleshooting and diagnostics"
|
||||
(load! "cli/doctor")
|
||||
(load! "cli/debug")
|
||||
(load! "cli/test"))
|
||||
|
||||
(defcligroup! "Maintenance"
|
||||
"For managing your config and packages"
|
||||
(load! "cli/env")
|
||||
(load! "cli/upgrade")
|
||||
(load! "cli/packages")
|
||||
(load! "cli/autoloads"))
|
||||
|
||||
(defcligroup! "Compilation"
|
||||
"For compiling Doom and your config"
|
||||
(load! "cli/byte-compile"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue