-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
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:
enquirer input --message "Project parent folder?" --default "$(pwd)" <<</tmp
enquirer input --message "Project parent folder?" --default "$(pwd)" < <(echo /tmp)
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.
Metadata
Metadata
Assignees
Labels
No labels