Class: ItsyBtc::Commands::DecryptCommand
- Defined in:
- lib/itsy-btc/commands/decrypt_command.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
Instance Method Details
#run ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/itsy-btc/commands/decrypt_command.rb', line 7 def run unless @wallet puts "No wallet found! Use `itsy init` to create one." exit end @wallet.entries_with_keys.each do |entry| puts "addr: #{entry.address}" puts "key: #{entry.key}" puts "comment: #{entry.comment}" puts end end |