select - prompt to select one options from the list
multiselect - prompt to select multiple options from the list
Action Handler: Confirm
Ask user to confirm something.
ID:com.fireblink.fbl.cli.prompts.confirm
Aliases:
fbl.cli.prompts.confirm
cli.prompts.confirm
prompts.confirm
confirm
Example:
confirm:# [required] confirm messagemessage:'Are you sure you want to proceed?'# [optional] default response valuedefault:false# [optional] either "assignResponseTo" or "pushResponseTo" should existassignResponseTo:# follows common assignment logic practicies https://fbl.fireblink.com/plugins/common#assign-to# [optional] either "assignResponseTo" or "pushResponseTo" should existpushResponseTo:# follows common push logic practicies https://fbl.fireblink.com/plugins/common#push-to
Action Handler: Prompt
Ask user to type the value.
ID:com.fireblink.fbl.cli.prompts.prompt
Aliases:
fbl.cli.prompts.prompt
cli.prompts.prompt
prompts.prompt
prompt
Example:
prompt:# [required] message to print for usermessage:'What is your name?'# [optional] whether answer should be maskedpassword:false# [optional] default responsedefault:'anonymous'# [optional] json schema validation schema# note: only "string", "integer" and "number" types are supportedschema:type:string# [optional] either "assignResponseTo" or "pushResponseTo" should existassignResponseTo:# follows common assignment logic practicies https://fbl.fireblink.com/plugins/common#assign-to# [optional] either "assignResponseTo" or "pushResponseTo" should existpushResponseTo:# follows common push logic practicies https://fbl.fireblink.com/plugins/common#push-to
Action Handler: Select
Ask user to select one given answer from provided options.
ID:com.fireblink.fbl.cli.prompts.select
Aliases:
fbl.cli.prompts.select
cli.prompts.select
prompts.select
select
Example:
select:# [required] message to print for usermessage:'Pick your age:'# [optional] default selected optiondefault:"I don't want to answer"# [required] list of options user needs to pick answer fromoptions: - I don't want to answer - under 21 - 21 - 59 - 60+# there is also a way to specify different values and titles - title:Infinityvalue:0# [optional] either "assignResponseTo" or "pushResponseTo" should existassignResponseTo:# follows common assignment logic practicies https://fbl.fireblink.com/plugins/common#assign-to# [optional] either "assignResponseTo" or "pushResponseTo" should existpushResponseTo:# follows common push logic practicies https://fbl.fireblink.com/plugins/common#push-to
Action Handler: Multi Select
Aks user to pick one or more options.
ID:com.fireblink.fbl.cli.prompts.multiselect
Aliases:
fbl.cli.prompts.multiselect
cli.prompts.multiselect
prompts.multiselect
multiselect
Example:
multiselect:# [required] message to print for usermessage:'Select tags:'# [optional] default selected optionsdefault: ['music']# [required] list of options user needs to pick answer fromoptions: - music - art# there is also a way to specify different values and titles - title:Original Tagsvalue:'*'# [optional] either "assignResponseTo" or "pushResponseTo" should existassignResponseTo:# follows common assignment logic practicies https://fbl.fireblink.com/plugins/common#assign-to# [optional] either "assignResponseTo" or "pushResponseTo" should existpushResponseTo:# follows common push logic practicies https://fbl.fireblink.com/plugins/common#push-to