mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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.