Class: Md2html::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/md2html/cli.rb

Class Method Summary collapse

Class Method Details

.startObject



5
6
7
8
9
10
11
# File 'lib/md2html/cli.rb', line 5

def self.start
  if ARGV.empty?
    puts "Instructions: \t md2html <file.md>"
  else
    Md2html::Parse.process_file ARGV.first
  end
end