Sha256: c318524346c1c77f91f1202ba4281f4a54498cde768cfdaa5372a04a241eed0b

Contents?: true

Size: 514 Bytes

Versions: 5

Compression:

Stored size: 514 Bytes

Contents

#! /usr/bin/env ruby
# coding: utf-8

require "pp"
require "optparse"
require "rubygems"
require "tefil"

# option analysis
OPTIONS = {}
op = OptionParser.new
op.banner = [
  "Simply convert FreeStyleWiki to Markdown.",
  "Usage: #{File.basename("#{__FILE__}")} [options] [files]",
  "Example: #{File.basename("#{__FILE__}")} index.wiki > index.md",
].join("\n")
op.on("-o"     , "--overwrite"     , "Overwrite."){    OPTIONS[:overwrite] = true}
op.parse!(ARGV)


f = Tefil::FswikiToMd.new(OPTIONS)
f.filter(ARGV)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tefil-0.1.5 bin/fswiki2md
tefil-0.1.4 bin/fswiki2md
tefil-0.1.3 bin/fswiki2md
tefil-0.1.2 bin/fswiki2md
tefil-0.1.1 bin/fswiki2md