Class Webby::Apps::Main
In: lib/webby/apps/main.rb
Parent: Object

Methods

Attributes

cmd_line_options  [R] 

Public Class methods

Create a new Main webby object for building websites.

Create a new instance of Main, and run the webby application given the command line args.

Public Instance methods

Return the Rake application object.

Search for the "Sitefile" starting in the current directory and working upwards through the filesystem until the root of the filesystem is reached. If a "Sitefile" is not found, a RuntimeError is raised.

Initialize the Rake application object and load the core rake tasks, the site specific rake tasks, and the site specific ruby code. Any extra command line arguments are converted into a page name and directory that might get created (depending upon the task invoked).

Load options from the command line into the ::Webby.site struct

Returns the options hash from the Rake application object.

Parse the command line args for options and commands to invoke.

Execute the rake command.

Runs the main webby application. The command line arguments are passed in to this method as an array of strings. The command line arguments are parsed to figure out which rake task to invoke.

Print the available configuration options.

[Validate]