Skip to content

Commit 91690e2

Browse files
authored
Merge pull request hyperledger-indy#892 from vimmerru/master
Bugfixes to wallet import/export commands
2 parents 52979d4 + 283f165 commit 91690e2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cli/src/commands/wallet.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ pub mod import_command {
295295
.add_required_deferred_param("key", "Auth key for the wallet")
296296
.add_required_param("export_path", "Path to the file that contains exported wallet content")
297297
.add_required_deferred_param("export_key", "Passphrase used to derive export key")
298-
.add_example("wallet create wallet1 pool_name=pool1 key export_path=/home/indy/export_wallet export_key")
299-
.add_example("wallet create wallet1 pool_name=pool1 key=key export_path=/home/indy/export_wallet export_key=export_key")
298+
.add_example("wallet import wallet1 pool_name=pool1 key export_path=/home/indy/export_wallet export_key")
299+
.add_example("wallet import wallet1 pool_name=pool1 key=key export_path=/home/indy/export_wallet export_key=export_key")
300300
.finalize()
301301
);
302302

cli/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ fn build_executor() -> CommandExecutor {
8787
.add_command(wallet::list_command::new())
8888
.add_command(wallet::close_command::new())
8989
.add_command(wallet::delete_command::new())
90+
.add_command(wallet::export_command::new())
91+
.add_command(wallet::import_command::new())
9092
.finalize_group()
9193
.add_group(ledger::group::new())
9294
.add_command(ledger::nym_command::new())

0 commit comments

Comments
 (0)