21 lines
269 B
Rust
21 lines
269 B
Rust
|
#![deny(clippy::all)]
|
||
|
|
||
|
use structopt::StructOpt;
|
||
|
|
||
|
#[derive(Debug, StructOpt)]
|
||
|
enum AppOpt {
|
||
|
Init,
|
||
|
}
|
||
|
|
||
|
|
||
|
fn main() {
|
||
|
let opt = AppOpt::from_args();
|
||
|
dbg!(&opt);
|
||
|
|
||
|
match opt {
|
||
|
AppOpt::Init => {
|
||
|
println!("unimplemented");
|
||
|
}
|
||
|
}
|
||
|
}
|