Sha256: a8de61feb21a3a453f8feb4a2685aa41c156bdd9bc2d21d7e4ad6a06d0ce0873

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

#!/usr/bin/env ruby

require 'capwatch'
include Capwatch

options = CLI.parse(ARGV)

if options.telegram
  Telegram.new(token: options.telegram).start
else
  loop do
    table = Calculator.fund_hash(FundParser.new.fund, CoinMarketCap.fetch)
    system('clear')
    puts Console.draw_table(table)
    sleep options.tick
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capwatch-0.1.13 exe/capwatch