marvin/src/main.rs

25 lines
410 B
Rust
Raw Normal View History

use clap::{Parser, Subcommand};
#[derive(Parser)]
#[command(author, version, about, long_about = None)]
struct Cli {
#[clap(subcommand)]
command: Commands,
}
#[derive(Subcommand)]
enum Commands {
/// 🚀 Publish to IPFS
Publish {},
}
2021-11-04 21:49:01 -04:00
fn main() {
let cli = Cli::parse();
match &cli.command {
Commands::Publish {} => {
todo!("publish command");
}
}
2021-11-04 21:49:01 -04:00
}