Sha256: ac8b40e16263240136f390bb1983ed2a57fff308b738a8bb2b8fa7f1cc6874e2
Contents?: true
Size: 310 Bytes
Versions: 1
Compression:
Stored size: 310 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH.unshift("#{__dir__}/../lib") require 'JSON' require 'mongo_clarify' raise ArgumentError, 'Please input explain json.' if ARGV[0].nil? file = File.read("./#{ARGV[0]}") explain = JSON.parse(file, symbolize_names: true) MongoClarify.run(explain)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongo_clarify-0.1.1 | exe/mongo_clarify |