doomemacs/lisp
Henrik Lissner 26bc4ea150
feat(cli): allow multiple implicit types for options
Now you can specify more than one allowed (implicit) for a CLI option:

  (defcli! (doom somecommand) ((foo ("--foo" (file int)))))

This will test FOO to ensure it is either an existing file path or an
integer. If neither is true, you'll see this helpful error:

  Error: -o/--file received invalid value "FOO"

  Validation errors:
  - Not an integer.
  - Not a valid path to an existing file.
2022-08-07 19:43:27 +02:00
..
cli refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
lib refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
doom-cli-lib.el feat(cli): allow multiple implicit types for options 2022-08-07 19:43:27 +02:00
doom-cli.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
doom-editor.el merge: rewrite-docs 2022-08-03 03:27:50 +02:00
doom-keybinds.el refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
doom-lib.el refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
doom-modules.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
doom-packages.el refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
doom-projects.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
doom-start.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
doom-ui.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
doom.el release(modules): 22.08.0-dev 2022-08-04 01:29:37 +02:00
packages.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00