Sha256: 918e9d6c230c07ac149a37b86ad5cc08bc1b8c620f402f025e2e6be2c6a2c7b3

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

#!/usr/bin/env ruby
require_relative '../lib/dir_archiver'

if ARGV.empty?
  OptParser.parse(%w[--help])
end

include DirArchiver

# Now we are ready to take the order
# Show help if user forgot to type anything
opts = OptParser.parse(ARGV)

puts "Your options : #{opts}"

DirArchiver::archive(opts.input_dir,
                     opts.depth,
                     opts.seperator,
                     opts.output_dir,
                     opts.commit)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dir-archiver-0.1.0 bin/dir-archiver