Sha256: 15077878f4932f2b8976168071e697d4de902181e630dd0a571041717cbbf099

Contents?: true

Size: 218 Bytes

Versions: 4

Compression:

Stored size: 218 Bytes

Contents

class Jets::CLI
  class Curl < Base
    def run
      result = Request.new(options).run
      # only thing that goes to stdout. so can pipe to commands like jq
      puts JSON.pretty_generate(result)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jets-6.0.5 lib/jets/cli/curl.rb
jets-6.0.4 lib/jets/cli/curl.rb
jets-6.0.3 lib/jets/cli/curl.rb
jets-6.0.2 lib/jets/cli/curl.rb