Sha256: 704d08883e73c42321e911dd2734052995553edd6ebd26965a975976e0fd0e00
Contents?: true
Size: 511 Bytes
Versions: 11
Compression:
Stored size: 511 Bytes
Contents
#!/usr/bin/env ruby # -*- mode: ruby -*- require 'docopt' require 'org-converge' doc = <<OPTIONS org-tangle: Org babel tangling feature using the Org mode Ruby parser Usage: org-tangle <org_file> [--showfiles] [--log=<logfile>] [--root-dir=<root_dir>] Options: -h --help Show this screen. OPTIONS begin require "pp" cmd = Docopt::docopt(doc) rescue Docopt::Exit => e puts e.message end exit 1 unless cmd o = OrgConverge::Command.new(cmd.merge({'--tangle' => true })) o.execute!
Version data entries
11 entries across 11 versions & 1 rubygems