Skip to content

Conversation

@novusnota
Copy link
Member

@novusnota novusnota commented May 13, 2025

Closes #19

That is, the following and similar approaches are now possible:

./bin/index.js << EOF
package-name
ContractName
EOF

There, the input stream is supplied to the create-tact at once, such that it no longer needs to interactively prompt the user for input — a simple alternative to arbitrary CLI arguments (#8, #10).

Without this PR, the command above throws the following error: Error [ERR_USE_AFTER_CLOSE]: readline was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider allowing processing non-TTY, non-interactive input

2 participants