Clean struct-opt derive

This commit is contained in:
Aster committed 2022-02-08 00:51:21 +08:00
1 parent eb7388794a
commit b6c6dd6532
10 files changed
+49 -61

No files matched your search

+2 -4
View File
@@ -1,9 +1,7 @@
use crate::{cfg::ConfigOptsServe, gen_page, server, CrateConfig};
use std::{io::Write, path::PathBuf, process::{Command, Stdio}};
use structopt::StructOpt;
use super::*;
/// Run the WASM project on dev-server
#[derive(Clone, Debug, StructOpt)]
#[derive(Clone, Debug, Parser)]
#[structopt(name = "serve")]
pub struct Serve {
#[structopt(flatten)]