Sha256: ee38389ea49c32d60fb035824a669ce629f765b99af41a84c92600a4bee74e36
Contents?: true
Size: 897 Bytes
Versions: 3
Compression:
Stored size: 897 Bytes
Contents
# frozen_string_literal: true require('thor') require('cex/bigquery') require('cex/client') require('cex/kraken') require('cex/version') module Cex class Error < StandardError; end # classe para carregar/mostrar dados transacoes kraken no bigquery class CLI < Thor desc 'work', 'carrega transacoes novas no bigquery' option :h, type: :hash, default: {}, desc: 'configuracao ajuste reposicionamento temporal' # carrega transacoes novas no bigquery def work Bigquery.new(options).processa end desc 'show', 'mostra resumo saldos & transacoes' option :v, type: :boolean, default: false, desc: 'mostra transacoes' option :t, type: :boolean, default: false, desc: 'mostra transacoes todas ou somente novas' # mostra resumo saldos & transacoes def show Bigquery.new(options).transacoes.mostra_resumo end default_task :show end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cex-0.1.5 | lib/cex.rb |
cex-0.1.4 | lib/cex.rb |
cex-0.1.3 | lib/cex.rb |