inquire-cli

Crates.ioinquire-cli
lib.rsinquire-cli
version0.1.0
sourcesrc
created_at2022-09-13 16:27:35.865984
updated_at2022-09-13 16:27:35.865984
descriptioninteract with the user. a system call abstraction to inquire.
homepage
repository
max_upload_size
id664742
size41,747
Filip (omega-tree)

documentation

README

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"] }]'

Commit count: 0

cargo fmt