Sha256: 2d40400e0f403a0db38277af6815e60f6b3595e847ac1e66f2b586096f6f58b3
Contents?: true
Size: 608 Bytes
Versions: 2
Compression:
Stored size: 608 Bytes
Contents
require "dnnbundler/zipFileGenerator" require "thor" require "json" module Dnnbundler class CLI < Thor desc "build CONFIG", "" option :bumpBuild def build( config ) puts "Build with config #{config}" file = File.read(config) data_hash = JSON.parse(file) input_entries = data_hash["entries"] ignore_entries = data_hash["excludeEntries"] zip_file_name = data_hash["outFileName"] generator = ZipFileGenerator.new(data_hash) generator.write end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dnnbundler-0.1.5 | lib/dnnbundler/cli.rb |
dnnbundler-0.1.4 | lib/dnnbundler/cli.rb |