Sha256: 94906bbcbcf6bede064536240c03381a39b719a0ce2be8bb4b144dd83b675aae

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 Bytes

Contents

require_relative 'tool-markdown/markdown/link'
require_relative 'tool-markdown/version'

class Markdown
  def self.link(dirname, options)
    if options['info']
      Markdown::Link.show_info dirname
      exit 0
    end

    if options['check']
      Markdown::Link.check dirname
      exit 0
    end

    puts "Usage: #{Version::NAME} help"
    exit 1
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tool-markdown-0.0.5 lib/tool-markdown.rb
tool-markdown-0.0.4 lib/tool-markdown.rb