Module: Falcon::Command

Defined in:
lib/falcon/command.rb,
lib/falcon/command/top.rb,
lib/falcon/command/host.rb,
lib/falcon/command/paths.rb,
lib/falcon/command/proxy.rb,
lib/falcon/command/serve.rb,
lib/falcon/command/virtual.rb,
lib/falcon/command/redirect.rb

Defined Under Namespace

Modules: Paths Classes: Host, Proxy, Redirect, Serve, Top, Virtual

Class Method Summary collapse

Class Method Details

.call(*arguments) ⇒ Object

The main entry point for the falcon executable.



16
17
18
19
20
21
22
23
# File 'lib/falcon/command.rb', line 16

def self.call(*arguments)
	Top.call(*arguments)
rescue Interrupt
	# Ignore.
rescue => error
	Console.error(self, error)
	exit! 1
end