feat: init template
This commit is contained in:
28
template.toml
Normal file
28
template.toml
Normal file
@@ -0,0 +1,28 @@
|
||||
name = "Rust Clap CLI template"
|
||||
description = "Hatter's Rust Clap CLI template"
|
||||
kickstart_version = 1
|
||||
ignore = [
|
||||
".gitignore",
|
||||
"README.md",
|
||||
"LICENSE",
|
||||
]
|
||||
|
||||
cleanup = [
|
||||
]
|
||||
|
||||
[[variables]]
|
||||
name = "project_name"
|
||||
default = "My-CLI"
|
||||
prompt = "What's the name of the project?"
|
||||
validation = "^([a-zA-Z][a-zA-Z0-9_-]+)$"
|
||||
|
||||
[[variables]]
|
||||
name = "bin"
|
||||
default = "my-cli"
|
||||
prompt = "What's the name of the executable?"
|
||||
validation = "^([a-zA-Z][a-zA-Z-_]+)$"
|
||||
|
||||
[[variables]]
|
||||
name = "description"
|
||||
default = "A CLI application"
|
||||
prompt = "A short description of the app?"
|
||||
Reference in New Issue
Block a user