Vindaar / shell

A Nim mini DSL to execute shell commands

Home Page:https://vindaar.github.io/shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Send without expections ;)

ShalokShalom opened this issue · comments

Is it possible to send: a value, regardless of the expected line?

In a lot of scenarios, I would like to send the same value in any case, and it seems superfluous to provide any expectation.

So like:

shell:
  ./nspawn.sh
  send: y

I guess currently not. It should be straightforward to add. Feel free to check out the code if you want!
I'll have a short look tomorrow morning!

Frohe Weihnachten! 🎄

Closed by #23, new version is tagged.