You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CliRepl in the cli-website module has really worked out well. The autocompletion is super slick. That feature is worthy of promotion to the main module @carnesen/cli and it should be possible too since we only lightly use the Terminal interface from XTerm.js. To do so we need to make CliRepl pure dependency-free JavaScript and suitable for Node.js too. Probably it should just be an ordinary object factory too like CliBranch etc. instead of a class like it is today.
Node.js: my-cli repl: The CliRepl autocompletion is really good and useful even when we have productized shell autocompletion. There will be really slick things we can do in the custom REPL that wouldn't be possible in a normal shell REPL. Think of it like the mysql or redis-cli REPLs.
The text was updated successfully, but these errors were encountered:
carnesen
changed the title
Try to run CliRepl in Node.js
Make the CliRepl API universal (suitable for Node.js too) and move it into main package
Jul 4, 2020
carnesen
changed the title
Make the CliRepl API universal (suitable for Node.js too) and move it into main package
Move CliRepl into main package and adapt it's API to be suitable for Node.js too
Jul 4, 2020
The
CliRepl
in thecli-website
module has really worked out well. The autocompletion is super slick. That feature is worthy of promotion to the main module@carnesen/cli
and it should be possible too since we only lightly use theTerminal
interface from XTerm.js. To do so we need to makeCliRepl
pure dependency-free JavaScript and suitable for Node.js too. Probably it should just be an ordinary object factory too likeCliBranch
etc. instead of aclass
like it is today.Use cases:
my-cli repl
: TheCliRepl
autocompletion is really good and useful even when we have productized shell autocompletion. There will be really slick things we can do in the custom REPL that wouldn't be possible in a normal shell REPL. Think of it like themysql
orredis-cli
REPLs.The text was updated successfully, but these errors were encountered: