Sha256: da418412fbbf608c9430c36f49ff9caa50d6ba8bfd22dd82fab3a1c9043a2b64

Contents?: true

Size: 508 Bytes

Versions: 4

Compression:

Stored size: 508 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "consolidate"

if ARGV[0].nil? || ARGV[0] == ""
  puts "# Standard::Procedure::Consolidate"
  puts "## Mailmerge for simple Microsoft Word .docx files."
  puts ""
  puts "Examine the mailmerge fields inside a .docx file"
  puts "USAGE: examine path/to/myfile.docx"
  puts "Option: examine path/to/myfile.docx verbose"
  puts ""
else
  Consolidate::Docx::Merge.open ARGV[0], verbose: (ARGV[1] == "verbose") do |doc|
    doc.examine
  end and nil
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
standard-procedure-consolidate-0.3.9 exe/examine
standard-procedure-consolidate-0.3.1 exe/examine
standard-procedure-consolidate-0.3.0 exe/examine
standard-procedure-consolidate-0.2.0 exe/examine