module Command

Classes and Modules

class Host < Samovar::Command

Implements the falcon host command. Designed for deployment.

module Paths

A helper for resolving wildcard configuration paths.

class Proxy < Samovar::Command

Implements the falcon proxy command.

class Redirect < Samovar::Command

Implements the falcon redirect command.

class Serve < Samovar::Command

Implements the falcon serve command. Designed for development.

class Top < Samovar::Command

The top level command for the falcon executable.

class Virtual < Samovar::Command

Implements the falcon virtual command. Designed for deployment.

Definitions

def self.call(*arguments)

The main entry point for the falcon executable.

Signature

parameter arguments Array(String)

The command line arguments.

Implementation

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