Sha256: 8cb5e612f5411d05713eb232d6fcfb88544e096960ce50a89b299d37bd65a812

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

require 'thor'


module Blogdown
  module Cli
    class CommandLine<Thor

      desc "build", "builds the html files"
      def build
        begin
          publisher=Blogdown::Publisher.new(Dir.pwd)
          publisher.compose
        rescue Exception=>e
          puts e.message
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blogdown-0.0.2 lib/blogdown/cli.rb
blogdown-0.0.1 lib/blogdown/cli.rb