 (defun doom//autoloads (&optional yes)
   "TODO"
   (interactive "P")
-  (doom--run "autoloads" yes))
+  (let ((doom-auto-accept yes))
+    (doom-cli-run "autoloads")))
 
 ;;;###autoload
-(defun doom//update (&optional yes)
+(defun doom//update (&optional yes) 
   "TODO"
   (interactive "P")
-  (doom--run "update" yes))
+  (let ((doom-auto-accept yes))
+    (doom-cli-run "update")))
 
 ;;;###autoload
 (defun doom//upgrade (&optional yes)
   "TODO"
   (interactive "P")
-  (doom--run "upgrade" yes)
+  (let ((doom-auto-accept yes))
+    (doom-cli-run "upgrade"))
   (when (y-or-n-p "You must restart Emacs for the upgrade to take effect. Restart?")
     (doom/restart-and-restore)))
 

(defun doom//install (&optional yes)
  "TODO"
  (interactive "P")
  (doom--run "install" yes))

;;;###autoload
(defun doom//autoremove (&optional yes)
  "TODO"
  (interactive "P")
  (doom--run "autoremove" yes))

;;;###autoload
(defun doom//refresh (&optional yes)
  "TODO"
  (interactive "P")
  (doom--run "refresh" yes))


(require 'core-cli)

;;;###autoload
(defun doom-cli-run (command &rest _args)
  (let* ((default-directory doom-emacs-dir)
         (buf (get-buffer-create " *bin/doom*"))
         (doom-message-backend 'ansi)
         (ignore-window-parameters t)
         (noninteractive t)
         (standard-output
