hodler/src/lib/actions/wallet-get.cr

16 lines
289 B
Crystal

require "../actions"
module Hodler
class GetPortfolioAction < Action
def self.match(action)
# return (action == Action::Type::Report)
end
def perform
portfolio = PortfolioFactory.build(@global_options, @config)
puts portfolio.to_report
end
end
end