diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2021-07-31 11:34:58 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2021-07-31 11:34:58 +0200 |
| commit | 177d24325a098e6e62ee9445a0a3cf59a119628c (patch) | |
| tree | 1fc041da39f22296042094605d1ab8d87f78cc58 /src/main.rs | |
| parent | ca26395c8305467985709bb873ee98e6e4fdea75 (diff) | |
add commpand for export public key
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 29d8ea5..8385469 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,6 +29,8 @@ enum Options { Hex(cmd::hex::Options), #[structopt(about = "Generate a new HD wallet mnemonic")] New(new::Options), + #[structopt(about = "Export the public key for an account")] + PublicKey(public_key::Options), #[structopt(about = "Sign a message")] Sign(sign::Options), } @@ -41,6 +43,7 @@ fn main() { Options::Hex(options) => cmd::hex::run(options), Options::New(options) => new::run(options), Options::Sign(options) => sign::run(options), + Options::PublicKey(options) => public_key::run(options), } { if cfg!(debug_assertions) { eprintln!("ERROR: {:?}", err); |
