Class/Module Index [+]

Quicksearch

PhusionPassenger::Standalone::HelpCommand

Public Class Methods

show_in_command_list() click to toggle source
# File lib/phusion_passenger/standalone/help_command.rb, line 29
def self.show_in_command_list
        return false
end

Public Instance Methods

run() click to toggle source
# File lib/phusion_passenger/standalone/help_command.rb, line 33
def run
        puts "Phusion Passenger Standalone, the easiest way to deploy Ruby web apps."
        puts
        puts "Available commands:"
        puts
        Main.each_command do |command_name, command_class|
                if command_class.show_in_command_list
                        printf "  passenger %-15s  %s\n",
                                command_name,
                                wrap_desc(command_class.description, 51, 29)
                end
        end
        puts
        puts "Special options:"
        puts
        puts "  passenger --help      Display this help message."
        puts "  passenger --version   Display version number."
        puts
        puts "For more information about a specific command, please type"
        puts "'passenger <COMMAND> --help', e.g. 'passenger start --help'."
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.