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
We'd like to have an API to simulate check list input:
constscenario_3=clix('my command').expect([// Handle multiple lines with arrays'What is your choice?',/a/,/b/]).select([1])// using an array for multiple choices.expect('Ok, dude!');const{ ok }=awaitscenario_3.run();assert.ok(ok);
Acceptance criteria
it should take a number or an array of numbers for multiple choices
it should return an instance of Scenario (this)
The text was updated successfully, but these errors were encountered:
We didn't benefit from a straightforward way to happen keystroke directly to the stdin... (look at nodejs/node#43137)
In my former investigation 👀 I've found a package called xdotool. I'll consider writing a POC with it, but maybe we'll have to revamp the whole project. 🙇♂️
Context
In some cases, CLI tools outputs list of choice:
How are you? - bad - so bad - so so so bad
We'd like to have an API to simulate check list input:
Acceptance criteria
Scenario
(this)The text was updated successfully, but these errors were encountered: