Sample Header Ad - 728x90

How to choose items automatically in an interactive shell command?

1 vote
1 answer
273 views
I know I can use printf to automate parameter entry for some programs. For example: printf 'user_name\npassword' | sudo openconnect URL But this does not work for npm create qwik@latest. Because it has a step that is option selection. I know I can provide -y for npm to suppress its confirmation message. But I know that Qwik does not have [non-interactive CLI yet](https://github.com/BuilderIO/qwik/issues/2059) . Is there any way that I can automate this command? I'm using debian 11 bash.
Asked by Saeed Neamati (841 rep)
Nov 12, 2022, 05:50 AM
Last activity: Nov 12, 2022, 06:12 AM