class CLI::CommandRouter

Defined in:

cli/command_router.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add(route : String, desc : String, &block : RouteHandler) #

[View source]
def add(route : String, &block : RouteHandler) #

[View source]
def handle(command : String) #

[View source]
def routes : Array(CLI::CommandRouter::Route) #

[View source]