Skip to content

Commit

Permalink
added default on placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
codeitlikemiley committed Dec 14, 2023
1 parent d24bbbe commit 12d7eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cargo-generate.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[placeholders]
"service_description" = { type = "string", prompt = "Enter a brief description of the service:" }
"rpc_method" = { type = "string", prompt = "Enter the RPC method name:" }
"service_description" = { type = "string", prompt = "Enter a brief description of the service:", default = "Default Service Description" }
"rpc_method" = { type = "string", prompt = "Enter the RPC method name:", default = "make" }

[template]
include = ["src/**/*", "Cargo.toml", "proto/**/*", "build.rs"]
Expand Down

0 comments on commit 12d7eea

Please sign in to comment.