Sha256: 29e430fc899fce3fe5137f6274b01b2aacb2dd538025eee17f965b35bddb946b

Contents?: true

Size: 390 Bytes

Versions: 15

Compression:

Stored size: 390 Bytes

Contents

# -*- encoding: utf-8 -*-

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

15 entries across 15 versions & 3 rubygems

Version Path
gettalong-webgen-0.5.7.20090227 lib/webgen/cli/run_command.rb
gettalong-webgen-0.5.8.20090507 lib/webgen/cli/run_command.rb
gettalong-webgen-0.5.9.20090620 lib/webgen/cli/run_command.rb
gettalong-webgen-0.5.9.20090626 lib/webgen/cli/run_command.rb
thewoolleyman-webgen-0.5.8.20090419 lib/webgen/cli/run_command.rb
webgen-0.5.17 lib/webgen/cli/run_command.rb
webgen-0.5.15 lib/webgen/cli/run_command.rb
webgen-0.5.14 lib/webgen/cli/run_command.rb
webgen-0.5.13 lib/webgen/cli/run_command.rb
webgen-0.5.12 lib/webgen/cli/run_command.rb
webgen-0.5.11 lib/webgen/cli/run_command.rb
webgen-0.5.10 lib/webgen/cli/run_command.rb
webgen-0.5.9 lib/webgen/cli/run_command.rb
webgen-0.5.7 lib/webgen/cli/run_command.rb
webgen-0.5.8 lib/webgen/cli/run_command.rb