Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
feat(plugin): support deprecating plugins #906
Conversation
This adds a new wrap() option named `.deprecate`. 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.
This adds a new wrap() option named
.deprecated. This currently acceptsa 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.