refactor(cli): rename 'doom purge' -> 'doom gc'
'doom purge' is now deprecated. Also changes 'doom sync's -p option to --gc. Since GCing causes the loss of historical data, I'd rather it be a long option to make it a little harder to do accidentally.
This commit is contained in:
parent
cff091982e
commit
2591201aa1
3 changed files with 4 additions and 3 deletions
|
@ -15,9 +15,10 @@
|
|||
|
||||
(defcli-obsolete! ((build b)) (sync "--rebuild") "v3.0.0")
|
||||
|
||||
(defcli-obsolete! ((purge p)) (gc) "v3.0.0")
|
||||
|
||||
;; TODO Rename to "doom gc" and move to its own file
|
||||
(defcli! ((purge p))
|
||||
(defcli! (gc)
|
||||
((nobuilds-p ("-b" "--no-builds") "Don't purge unneeded (built) packages")
|
||||
(noelpa-p ("-p" "--no-elpa") "Don't purge ELPA packages")
|
||||
(norepos-p ("-r" "--no-repos") "Don't purge unused straight repos")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue