doomemacs/core/cli
Henrik Lissner e632871a11
core-cli: backport more refactors from rewrite
Still a long way to go, but this introduces a few niceties for
debugging CLI failures:

+ The (extended) output of the last bin/doom command is now logged to
  ~/.emacs.d/.local/doom.log
+ If an error occurs, short backtraces are displayed whether or not you
  have debug mode on. The full backtrace is written to
  ~/.emacs.d/.local/doom.error.log.
+ bin/doom now aborts with a warning if:
  - The script itself or its parent directory is a symlink. It's fine if
    ~/.emacs.d is symlinked though.
  - Running bin/doom as root when your DOOMDIR isn't in /root/.
  - If you're sporting Emacs 26.1 (now handled in the elisp side rather
    than the /bin/sh shebang preamble).
+ If a 'doom sync' was aborted prematurely, you'll be warned that Doom
  was left in an inconsistent state and that you must run `doom sync`
  again.

May address #3746
2020-08-24 23:00:32 -04:00
..
autoloads.el core-cli: backport more refactors from rewrite 2020-08-24 23:00:32 -04:00
byte-compile.el Change doom-{interactive,debug}-mode suffix to -p 2020-05-25 03:43:40 -04:00
debug.el Backport bits of CLI rewrite 2020-05-15 01:33:52 -04:00
doctor.el cli/doctor: fix native json detection 2020-08-12 16:01:33 -04:00
env.el Add -A/-R switches to 'doom env' 2020-08-01 15:23:10 -04:00
help.el cli/help: only show aliases if there are any 2019-12-05 19:34:09 -05:00
install.el Fix #3277: 'doom install' options are ignored 2020-06-02 18:16:32 -04:00
packages.el Update gccemacs support 2020-08-17 21:24:14 -04:00
sync.el core-cli: backport more refactors from rewrite 2020-08-24 23:00:32 -04:00
test.el Refactor autoload generator bootstrappers 2020-01-01 13:31:40 -05:00
upgrade.el core-cli: backport more refactors from rewrite 2020-08-24 23:00:32 -04:00