Crates.io | inquire-cli |
lib.rs | inquire-cli |
version | 0.1.0 |
source | src |
created_at | 2022-09-13 16:27:35.865984 |
updated_at | 2022-09-13 16:27:35.865984 |
description | interact with the user. a system call abstraction to inquire. |
homepage | |
repository | |
max_upload_size | |
id | 664742 |
size | 41,747 |
This provides a cli to trigger inquire, allowing for any language with sys call abilities to run nice interactive inquiries.
inquire-cli -o ./answer_file.yml -c '[{"name":"test", "type":"confirm", "message":"Are you from Mars?","help":"Some help message", "placeholder": "some placeholder"}]'
inquire-cli -o ./answer_file.yml -c '[{"name":"test", "type":"text", "message":"Where are you from?", "suggestions":["Colombia", "Brazil", "Argentina", "USA"] }]'