Sha256: 899e17fe3b1dbe7fec428437af436a61f7834bcf353a817cf037b2631f024a31
Contents?: true
Size: 769 Bytes
Versions: 1
Compression:
Stored size: 769 Bytes
Contents
# frozen_string_literal: true require 'thor' require 'etht/bigquery' require 'etht/version' # @author Hernani Rodrigues Vaz module Etht ID = `whoami`.chomp class Error < StandardError; end # CLI para carregar etherscan comuns no bigquery class CLI < Thor desc 'work', 'carrega/apaga dados do etherscan' option :e, type: :boolean, default: false, desc: 'apaga linha igual' option :m, type: :boolean, default: false, desc: 'apaga linhas existencia multipla' # processa etherscan def work Bigquery.new({ e: options[:e], m: options[:m], i: true }).processa_etherscan end desc 'show', 'mostra dados do etherscan' # show etherscan def show Bigquery.new.processa_etherscan end default_task :show end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
etht-0.1.3 | lib/etht.rb |