Class: TheFox::Wallet::CategoriesCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/wallet/command_categories.rb

Overview

List all used categories.

Constant Summary collapse

NAME =
'categories'

Instance Method Summary collapse

Methods inherited from Command

create_by_name, #initialize, is_matching_class

Constructor Details

This class inherits a constructor from TheFox::Wallet::Command

Instance Method Details

#runObject



9
10
11
12
# File 'lib/wallet/command_categories.rb', line 9

def run
  wallet = Wallet.new(@options[:wallet_path])
  puts wallet.categories
end