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
This looks like enquirer recognized an input device:
$ enquirer input --default "$(pwd)" --message "Project parent folder?"<(echo /tmp)
error: Found argument '/dev/fd/63' which wasn't expected, or isn't valid in this context
USAGE:
enquirer input [OPTIONS] --message <MESSAGE>
For more information try --help
Appreciate any hints or tips.
The text was updated successfully, but these errors were encountered:
taqtiqa-mark
changed the title
Feature: Shell test suppport
Feature: Support shell test contexts (e.g. bats-core)
Jun 13, 2022
The main use case of enquirer is for terminal based interactions. I don't think we allow reading those interactions from files. This is an underlying issue in https://github.com/mitsuhiko/dialoguer.
Thanks for all your effort in making enquirer, and for making it open source.
We've struggled to test a bash script that uses
enquirer
.Our test framework is
bats-core
.There may be other issues in that context.
However, we believe an initial stumbling block is that neither of the following work:
This looks like
enquirer
recognized an input device:Appreciate any hints or tips.
The text was updated successfully, but these errors were encountered: