Sha256: 255be3f3241c510cb3aa5780e15a57492394ce1f96ca9e4dba0aa2d0b9736fb6
Contents?: true
Size: 579 Bytes
Versions: 4
Compression:
Stored size: 579 Bytes
Contents
#!/usr/bin/env ruby require 'markdown_helper' def usage dir_path = File.dirname(File.absolute_path(__FILE__)) file_path = File.join( dir_path, 'usage', 'resolve_image_urls.txt' ) puts File.read(file_path) exit end template_file_path, markdown_file_path = ARGV usage unless ARGV.size == 2 usage unless File.readable?(template_file_path) usage unless File.writable?(File.dirname(markdown_file_path)) MarkdownHelper.new.resolve_image_urls(template_file_path, markdown_file_path)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
markdown_helper-0.2.2 | bin/resolve_image_urls |
markdown_helper-0.2.1 | bin/resolve_image_urls |
markdown_helper-0.2.0 | bin/resolve_image_urls |
markdown_helper-0.1.9 | bin/resolve_image_urls |