Using Auto CLI as a library #1964
Answered
by
hipstersmoothie
laughedelic
asked this question in
Q&A
-
I'm trying to do something like this: import { parseArgs, runCli } from "auto";
const [command, args] = parseArgs();
runCli(command, args); Based on the code I see here. But of course, these imports don't work. If I understand correctly, the only public export from that module is this auto/packages/cli/src/index.ts Line 1 in 3c51664 Is it possible to plug |
Beta Was this translation helpful? Give feedback.
Answered by
hipstersmoothie
Apr 27, 2021
Replies: 1 comment
-
Yeah you can export the necessary code form there 👍🏼 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
laughedelic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah you can export the necessary code form there 👍🏼