Sha256: e9f2753c796bcd145e9173ae1ca8f170b361f1a041e7963986b05848efea5fd6

Contents?: true

Size: 363 Bytes

Versions: 12

Compression:

Stored size: 363 Bytes

Contents

require 'webgen/cli'

module Webgen::CLI

  # The CLI command for rendering a webgen website.
  class RunCommand < CmdParse::Command

    def initialize # :nodoc:
      super('render', false)
      self.short_desc = 'Render the webgen website'
    end

    # Render the website.
    def execute(args)
      commandparser.create_website.render
    end

  end

end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
gettalong-webgen-0.5.4.20080929 lib/webgen/cli/run_command.rb
gettalong-webgen-0.5.5.20081001 lib/webgen/cli/run_command.rb
gettalong-webgen-0.5.5.20081010 lib/webgen/cli/run_command.rb
gettalong-webgen-0.5.5.20081012 lib/webgen/cli/run_command.rb
gettalong-webgen-0.5.6.20081020 lib/webgen/cli/run_command.rb
webgen-0.5.0 lib/webgen/cli/run_command.rb
webgen-0.5.4 lib/webgen/cli/run_command.rb
webgen-0.5.3 lib/webgen/cli/run_command.rb
webgen-0.5.2 lib/webgen/cli/run_command.rb
webgen-0.5.1 lib/webgen/cli/run_command.rb
webgen-0.5.6 lib/webgen/cli/run_command.rb
webgen-0.5.5 lib/webgen/cli/run_command.rb