Hey @imaustink, sorry for taking so long to reply. So, what donejs actually does it defer to donejs-cli. donejs-cli will look in node_modules/.bin/ and then package.json's .scripts, for, in this case app. So the fact that it doesn't warn when it finds something is something we can (hopefully) fix in donejs-cli. Going to move this issue there.
@imaustink commented on Mon Sep 18 2017
How often can you reproduce it?
Description: Running invalid commands exits without any warning. In my opion, this should at least output help.
Steps to reproduce: Run
donejs app add some-app
.Expected results: The CLI logs a warning or help.
Actual results: The CLI exits silently.
Environment:
1.0.1
8.4.0
5.3.0
Mac OS 10.12.6
@matthewp commented on Thu Jan 18 2018
Hey @imaustink, sorry for taking so long to reply. So, what donejs actually does it defer to donejs-cli. donejs-cli will look in
node_modules/.bin/
and then package.json's.scripts
, for, in this caseapp
. So the fact that it doesn't warn when it finds something is something we can (hopefully) fix in donejs-cli. Going to move this issue there.