Class: AgentCode::Commands::BaseCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/agentcode/commands/base_command.rb

Overview

Lightweight base for AgentCode CLI commands. Uses tty-prompt for interactive, navigable terminal UI.

Instance Method Summary collapse

Constructor Details

#initializeBaseCommand

Returns a new instance of BaseCommand.



10
11
12
13
14
15
# File 'lib/agentcode/commands/base_command.rb', line 10

def initialize
  @prompt = TTY::Prompt.new(
    active_color: :cyan,
    help_color: :dim
  )
end