amebalabs/Esse

Esse CLI (and Alfred workflow by extension) fails on "- " input

Closed this issue · 2 comments

For some reason, a dash followed by a space and then pretty much anything "crashes" the CLI:

/Applications/Esse.app/Contents/MacOS/EsseCommandLine -i "- "
Error: Missing value for '-i <i>'
Usage: esse [-t <t>] [-i <i>] <subcommand>
  See 'esse --help' for more information.

Looks like it is a by design behavior.

Adding = fixes the issue, like this /Applications/Esse.app/Contents/MacOS/EsseCommandLine -i="- ". I've updated the workflow

Thanks!