feat: init use cargo-generate
This commit is contained in:
1 parent
7343af2089
commit
bdcc06648b
8 files changed
+74
-103
No files matched your search
@@ -16,6 +16,10 @@ pub struct ConfigOptsBuild {
|
||||
#[serde(default)]
|
||||
pub release: bool,
|
||||
|
||||
/// Build a example [default: ""]
|
||||
#[structopt(long)]
|
||||
pub example: Option<String>,
|
||||
|
||||
/// Optional pattern for the app loader script [default: None]
|
||||
///
|
||||
/// Patterns should include the sequences `{base}`, `{wasm}`, and `{js}` in order to
|
||||
@@ -62,6 +66,10 @@ pub struct ConfigOptsServe {
|
||||
#[structopt(parse(from_os_str))]
|
||||
pub target: Option<PathBuf>,
|
||||
|
||||
/// Build a example [default: ""]
|
||||
#[structopt(long)]
|
||||
pub example: Option<String>,
|
||||
|
||||
/// Build in release mode [default: false]
|
||||
#[structopt(long)]
|
||||
#[serde(default)]
|
||||
|
||||
Reference in new issue
Block a user