1 unstable release
0.1.0 | Sep 13, 2022 |
---|
#11 in #confirm
31KB
641 lines
Synopsis
This provides a cli to trigger inquire, allowing for any language with sys call abilities to run nice interactive inquiries.
example of Yes or No question
inquire-cli -o ./answer_file.yml -c '[{"name":"test", "type":"confirm", "message":"Are you from Mars?","help":"Some help message", "placeholder": "some placeholder"}]'
example of open-ended question
inquire-cli -o ./answer_file.yml -c '[{"name":"test", "type":"text", "message":"Where are you from?", "suggestions":["Colombia", "Brazil", "Argentina", "USA"] }]'
Dependencies
~7–16MB
~210K SLoC