diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index e7a11a9..74b1bc5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,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() { - println!("Hello, world!"); + match Options::from_args() { + Options::New(options) => new::run(options), + } } |
