aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
blob: 74b1bc527b1a13971660ea17dfe6f2653dae2b83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mod cmd;
mod mnemonic;

use crate::cmd::*;
use structopt::StructOpt;

#[derive(Debug, StructOpt)]
#[structopt(
    name = "hdwallet",
    about = "Hierarchical deterministic wallet for Ethereum",
)]
enum Options {
    New(new::Options),
}

fn main() {
    match Options::from_args() {
        Options::New(options) => new::run(options),
    }
}