Sha256: 6a0b4f15305f22f395c74f0596f7c1fc9c79dc4674ab7f2b34bac6f3d802412a
Contents?: true
Size: 471 Bytes
Versions: 3
Compression:
Stored size: 471 Bytes
Contents
require "zipper" require "thor" require "json" require "zipper" module Zipper class CLI < Thor desc "zip CONFIG [options]", "creates a zip package according to given configuration file" def zip( config ) puts "Build with config #{config}" file = File.read(config) json_config = JSON.parse(file) generator = Zipper::ZipFileGenerator.new(json_config) generator.write end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zipbundler-0.2.3 | lib/zipper/cli.rb |
zipbundler-0.2.2 | lib/zipper/cli.rb |
zipbundler-0.2.1 | lib/zipper/cli.rb |