Some Cordova users need a way to prevent hooks from being executed for various reasons. One example is a security issue.
A new CLI option "--nohooks" can be introduced for those Cordova users.
This option takes a string as the pattern for disabling hooks.
--nohooks can be repeated for multiple hook patterns.
All pattern strings are automatically converted to RegExp.
The last example disables all hooks.
We need this feature in Intel XDK.