class Hisho::HelpCommand

Defined in:

core/commands/help_command.cr

Constant Summary

HELP_MESSAGE = "Available commands:\n/add, /a [path]: Add files or folders to context\n/clear: Clear chat context and added files\n/show_context: Show current conversation and added files\n/help, /h: Show this help message\n/quit, /q: Exit the program"

Constructors

Instance Method Summary

Instance methods inherited from class Hisho::Command

display display, execute(conversation : Conversation, chat_client : ChatClient, file : File) : Command execute, message : String message, message=(message : String) message=, type : Symbol type, type=(type : Symbol) type=

Constructor methods inherited from class Hisho::Command

new(type : Symbol, message : String) new

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def display #

[View source]
def execute(conversation : Conversation, chat_client : ChatClient, file : File) : Command #

[View source]