19 lines
280 B
Rust
19 lines
280 B
Rust
|
use clap::{Parser, Subcommand};
|
||
|
|
||
|
#[derive(Debug, Parser)]
|
||
|
struct Opt {
|
||
|
#[clap(subcommand)]
|
||
|
command: Command,
|
||
|
}
|
||
|
|
||
|
#[derive(Debug, Subcommand)]
|
||
|
enum Command {
|
||
|
/// Compile an e0 package
|
||
|
#[clap(name = "build", alias = "b")]
|
||
|
Build,
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
let opts = Opt::parse();
|
||
|
}
|