Sha256: c3518dc66bcd750ccb558eaf393d9c9adfa641895854d3217e1aa70512df7793

Contents?: true

Size: 324 Bytes

Versions: 3

Compression:

Stored size: 324 Bytes

Contents

#!/usr/bin/env ruby

require 'capwatch'
include Capwatch

options = CLI.parse(ARGV)
capwatch_file = File.expand_path('~/.capwatch')
fund = JSON.parse(File.open(capwatch_file).read)

loop do
  table = Calculator.fund_hash(fund, CoinMarketCap.fetch)
  system('clear')
  puts Console.draw_table(table)
  sleep options.tick
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capwatch-0.1.12 exe/capwatch
capwatch-0.1.11 exe/capwatch
capwatch-0.1.10 exe/capwatch