Replies: 1 comment
-
I agree! Couldn't find a forum or slack to discuss with other oclif'ers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Do you want to request a feature or report a bug?
Question
Problem
I would like to "wrap" another CLI by my
oclif
CLI which is some kind of "facade" for underlying implementation.For example, I would like to call
rollup
CLI from myoclif
CLI. The problem is thatrollup
doesn't provide JS-based API which is 100% equivalent to therollup
CLI command. There is quite a lot of logic in the CLI command itself.So I was hoping to do something like:
While this works it removes all prompts produced by
rollup
and some plugins don't work properly. But it would be nice to make my:$ myCustomCli build [flags]
alias to$ rollup [flags]
call.Is this possible? Maybe I can find some examples?
P.S Maybe it makes sense to enable GitHub "Discussions" functionality for
oclif
repo? Because I didn't find a proper place where aks "question".Beta Was this translation helpful? Give feedback.
All reactions