CmdParse::CommandParser
This is the command parser class used for handling the webgen command line interface. After creating an instance, the inherited parse method can be used for parsing the command line arguments and executing the requested command.
Utility method for sub-commands to create the correct Webgen::Website object.
# File lib/webgen/cli.rb, line 107 def create_website if !defined?(@website) @website = Webgen::Website.new(@directory) do |config| config['logger.mask'] = @log_filter end @website.logger.level = @log_level @website.logger.verbosity = @verbosity end @website end
Generated with the Darkfish Rdoc Generator 2.