add choice wallet
This commit is contained in:
parent
f724f09957
commit
6a1d3a8921
2 changed files with 38 additions and 6 deletions
bin
3
bin/mpw
3
bin/mpw
|
@ -113,7 +113,7 @@ end.parse!
|
|||
config = MPW::Config.new(options[:config])
|
||||
check_error = config.checkconfig
|
||||
|
||||
cli = Cli.new(config, options[:wallet])
|
||||
cli = Cli.new(config)
|
||||
|
||||
# Setup a new config
|
||||
if not check_error or not options[:setup].nil?
|
||||
|
@ -122,6 +122,7 @@ elsif not config.check_gpg_key?
|
|||
cli.setup_gpg_key
|
||||
end
|
||||
|
||||
cli.get_wallet(options[:wallet])
|
||||
cli.decrypt
|
||||
|
||||
# Display the item's informations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue