nomnom
nomnom copied to clipboard
Customize default behaviour when command not found
Is there a way to customize or define the behaviour of nomnom when a command is not found? For Example I want to print my own message or want to look for scripts in a particular directory.
I second this. Its incredibly difficult to use the command interface when it shifts the functionality to expect a command but there is no way to handle unmatched/default behavior.
https://github.com/scopely/sugar/blob/002f7598bfc72b15c6615d64022a56ed41567310/src/sugar.js#L426-L438
This is the horror I've had to face to deal with this.