class Butler::Dispatcher

Defined in:

butler/dispatcher.cr

Constant Summary

COMMAND_MAP = {"init" => Butler::Instruction::Initialize, "task-add" => Butler::Instruction::CreateTask, "task-list" => Butler::Instruction::ListTasks}
SUPPORTED_INSTRUCTIONS = ["init", "task"]

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(instruction : String, details : Array(String)) #

[View source]

Class Method Detail

def self.dispatch!(intent : Array(String)) #

[View source]

Instance Method Detail

def dispatch #

[View source]

[View source]