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

Version Path
org-converge-0.0.17 bin/org-tangle
org-converge-0.0.16 bin/org-tangle
org-converge-0.0.15 bin/org-tangle
org-converge-0.0.14 bin/org-tangle
org-converge-0.0.13 bin/org-tangle
org-converge-0.0.12 bin/org-tangle
org-converge-0.0.11 bin/org-tangle
org-converge-0.0.10 bin/org-tangle
org-converge-0.0.9 bin/org-tangle
org-converge-0.0.8 bin/org-tangle
org-converge-0.0.7 bin/org-tangle