diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2021-05-13 05:35:37 +0000 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2021-05-13 05:35:37 +0000 |
| commit | 223cd670577c55d65762a056782124dc4c905f04 (patch) | |
| tree | 1bc0cf9010c7af1c3ff2732856360b88c289b43e /src/main.rs | |
| parent | acd9b487c189d7f82ae9187f0fffd0607478abc4 (diff) | |
Use input files for binary input and add utilities for hex encoding
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 4fe666a..29d8ea5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,6 +25,8 @@ enum Options { Export(export::Options), #[structopt(about = "Keccak256 hash data")] Hash(cmd::hash::Options), + #[structopt(about = "Hex encoding and decoding")] + Hex(cmd::hex::Options), #[structopt(about = "Generate a new HD wallet mnemonic")] New(new::Options), #[structopt(about = "Sign a message")] @@ -36,6 +38,7 @@ fn main() { Options::Address(options) => address::run(options), Options::Export(options) => export::run(options), Options::Hash(options) => cmd::hash::run(options), + Options::Hex(options) => cmd::hex::run(options), Options::New(options) => new::run(options), Options::Sign(options) => sign::run(options), } { |
