Sha256: d38951ad0b6b8d9c6a690d76031951c6921f33662e9fa4622b9570cbcd6632f3
Contents?: true
Size: 803 Bytes
Versions: 1
Compression:
Stored size: 803 Bytes
Contents
# frozen_string_literal: true require('thor') require('bct/version') module Bct 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_tudo end desc 'show', 'mostra resumo 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 transacoes def show Bigquery.new(options).mostra_tudo end default_task :show end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bct-0.1.1 | lib/bct.rb |