def-command! -> defcli!

And def-command-group! -> defcligroup!, to match our new convention for
naming definer macros.
This commit is contained in:
Henrik Lissner 2019-07-28 01:32:16 +02:00
parent 0a05fd09c3
commit 4dc42de9e3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
10 changed files with 25 additions and 25 deletions

View file

@ -1,6 +1,6 @@
;;; core/cli/byte-compile.el -*- lexical-binding: t; -*-
(def-command! (compile c) (&rest targets)
(defcli! (compile c) (&rest targets)
"Byte-compiles your config or selected modules.
compile [TARGETS...]
@ -12,11 +12,11 @@ and your private config files, respectively. To recompile your packages, use
'doom rebuild' instead."
(doom-byte-compile targets))
(def-command! (recompile rc) (&rest targets)
(defcli! (recompile rc) (&rest targets)
"Re-byte-compiles outdated *.elc files."
(doom-byte-compile targets 'recompile))
(def-command! clean ()
(defcli! clean ()
"Delete all *.elc files."
(doom-clean-byte-compiled-files))