Class: AgentCode::Commands::BaseCommand
- Inherits:
-
Object
- Object
- AgentCode::Commands::BaseCommand
- Defined in:
- lib/agentcode/commands/base_command.rb
Overview
Lightweight base for AgentCode CLI commands. Uses tty-prompt for interactive, navigable terminal UI.
Direct Known Subclasses
BlueprintCommand, ExportPostmanCommand, GenerateCommand, InstallCommand, InvitationLinkCommand
Instance Method Summary collapse
-
#initialize ⇒ BaseCommand
constructor
A new instance of BaseCommand.
Constructor Details
#initialize ⇒ BaseCommand
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 |