dthree / dthree/vorpal

Use `exec` with a prompt

Open
#256 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.6k
Forks
278
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.