shelljs
shelljs copied to clipboard
feat(plugin): support deprecating plugins
This adds a new wrap() option named .deprecated. This currently accepts
a string value, which will be the deprecation message for the plugin.
Deprecation works on standard commands as well as pipes. The call stack
points directly to the deprecated method, and not to any ShellJS
internals.
Fixes #541 Test: This adds unit tests.