shelljs icon indicating copy to clipboard operation
shelljs copied to clipboard

feat(plugin): support deprecating plugins

Open nfischer opened this issue 7 years ago • 0 comments

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.

nfischer avatar Nov 13 '18 08:11 nfischer