class Marksman::CLI

Public Instance Methods

generate(file, target = 'public') click to toggle source
# File lib/marksman/cli.rb, line 18
def generate(file, target = 'public')
  Marksman::Writer.new(file, target, options[:theme]).generate
end
watch(file, target = 'public') click to toggle source
# File lib/marksman/cli.rb, line 24
def watch(file, target = 'public')
  Marksman::Watcher.new(file, target, options[:theme]).watch
end