-
Notifications
You must be signed in to change notification settings - Fork 3
/
cargo-generate.toml
35 lines (29 loc) · 746 Bytes
/
cargo-generate.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[template]
ignore = ["test.nu"]
[placeholders.command_name]
type = "string"
prompt = "What should your first command be called? (spaces are okay)"
[placeholders.multi_command]
type = "string"
prompt = "Do you intend to create more than one command / subcommand?"
choices = [
"Yes",
"No"
]
default = "No"
[placeholders.command_is_simple]
type = "string"
prompt = "Would you like a simple command? Say no if you would like to use streaming."
choices = [
"Yes",
"No"
]
[placeholders.github_username]
type = "string"
prompt = "What is your GitHub username? (Leave blank if you don't want to publish to GitHub)"
default = ""
[hooks]
init = ["init.rhai"]
pre = ["pre.rhai"]
[conditional.'multi_command == "No"']
ignore = ["src/commands"]