[template]
cargo_generate_version = ">=0.9.0"

[placeholders]
description = { type = "string", prompt = "Description for the crate?" }
ask_for_string = { type = "bool", prompt = "Make a choice too?", default = true }
ask_for_options = { type = "bool", prompt = "Make multiple choices too?", default = true }

[conditional.'ask_for_string'.placeholders.choice]
type = "string"
prompt = "Please select one..."
choices = ["One", "Two", "Three", "Four"]

[conditional.'ask_for_options'.placeholders.multi_choice]
type = "array"
prompt = "Please select one or more..."
choices = ["A", "B", "C", "D"]
default = ["B", "C"]
