vorpal icon indicating copy to clipboard operation
vorpal copied to clipboard

Use `exec` with a prompt

Open gretro opened this issue 7 years ago • 0 comments

I'm currently using a 3rd party application that uses Vorpal in REPL mode. I'm trying to automate some deployment configuration for use in my project using the exec function in Vorpal. Everything is working until there is a prompt. At that point, my execution hangs and I'm not able to progress until I do some manually steps (which is not what I want).

I looked at the docs, but there are no mentions of any trick to do that. I would like to avoid having to change the already existing code in-depth, but I'll do it if required to use options.

Here is a sample of my code: https://gist.github.com/gretro/b67aa364967c3fa2c82279b7e4236c2e

Is there anything I missed or a trick that can be used to do what I need to do?

gretro avatar Jun 26 '17 18:06 gretro