Sha256: c9fbf32d12a2830e59c318e8647986670be79778d1bb27d894d9afe0aa3d935e

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

require 'singleton'
require 'thor'

require 'gembank_client/resource'

module GembankClient
  class CLI < Thor
    desc('release KEY FILE', 'Release FILE using KEY')
    method_option(:url, :default => 'https://gembank.org')
    def release(key, file)
      GembankClient::Resource.new(key, file, options[:url]).release
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gembank_client-0.0.3 lib/gembank_client/cli.rb