require 'rubygems'
require 'mixlib/cli'

class CliParser
  include Mixlib::CLI

  option :output,
    :short => "-o OUTPUT",
    :long => "--output OUTPUT",
    :description => "Name of the file to write the converted markdown into"

  option :preview,
    :short => "-p",
    :long => "--preview",
    :description => "Displays the output markdown in a browser",
    :boolean => true


  def run(argv=ARGV)
    parse_options(argv)
  end
end

require 'rubygems'
require 'mixlib/cli'

class CliParser
  include Mixlib::CLI

  option :output,
    :short => "-o OUTPUT",
    :long => "--output OUTPUT",
    :description => "Name of the file to write the converted markdown into"

  option :wrap,
    :short => "-w",
    :long => "--wrap",
    :description => "Wrap the markdown in html and add styles",
    :boolean => true


  def run(argv=ARGV)
    parse_options(argv)
  end
end

Switch params to -w for wrap
Switch params to -w for wrap

Decided that using bcat internally was a bad idea... wrap allows for a user to pipe the output to bcat
