Sha256: 88f3140b4724d3c74133aae3b480bafa2b908fbfb9657769f4c1e614d50cc1ef
Contents?: true
Size: 622 Bytes
Versions: 2
Compression:
Stored size: 622 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(input_entries, ignore_entries, zip_file_name) generator.write end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dnnbundler-0.1.2 | lib/dnnbundler/cli.rb |
dnnbundler-0.1.1 | lib/dnnbundler/cli.rb |