Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Command seems to implicitly include the help plugin #74

Closed
robcresswell opened this issue Oct 5, 2019 · 3 comments
Closed

Command seems to implicitly include the help plugin #74

robcresswell opened this issue Oct 5, 2019 · 3 comments

Comments

@robcresswell
Copy link

This seems to rely on the help plugin, which rather defeats the object of a plugin; it also makes it non-trivial to write your own help command.

@G-Rath
Copy link

G-Rath commented Nov 7, 2019

It seems this was done by request as part of #66

@jasonk
Copy link

jasonk commented Dec 29, 2019

You don't mention what kind of problems you are running into, but even though it's a dependency, the thing that adds it to your CLI is that the plugin is listed by default in oclif.plugins in package.json. If you remove it from there then help doesn't get listed in the default output any more.

@robcresswell
Copy link
Author

robcresswell commented Dec 30, 2019

You don't mention what kind of problems you are running into

Sorry for not being clear on this, but this is what I meant by "it also makes it non-trivial to write your own help command.". Its hard to recall exactly what my problem was; this was nearly 3 months ago. I believe the inclusion of this meant I couldn't write my own help plugin, as the default one got called because of it being a dep.

If you remove it from there then help doesn't get listed in the default output any more.

While it removes it from the list, running help still seems to show the help text in the OCLIF format. So I'm guessing the plugin mechanism picks it up somehow?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants