Skip to content

How to make a REPL with defined command/subcommands? #460

Answered by drewburlingame
legacy-code asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @legacy-code, thanks for the compliments.

This is something we have a poc for, but I've since had a child and this feature has fallen in priority for me. I think all that remains are tests, but the tests for this are more complicated.

Having said that, I did publish a package for it that some of used successfully.

The PR is at #402. That PR description and the example are the only docs for it. You can let me know if you have questions.

Also, if you want to write some tests, I'd be happy to except PRs to get this pushed into main branch.

Cheers,
Drew

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@legacy-code
Comment options

Answer selected by legacy-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants