Class: Askcii::ConfigurationManager

Inherits:
Object
  • Object
show all
Defined in:
lib/askcii/configuration_manager.rb

Overview

Interactive terminal UI for managing provider configurations

Constant Summary collapse

PROVIDER_MENU =

Maps user selection numbers to provider identifiers

{
  '1' => 'openai',
  '2' => 'anthropic',
  '3' => 'gemini',
  '4' => 'deepseek',
  '5' => 'openrouter',
  '6' => 'ollama'
}.freeze

Instance Method Summary collapse

Instance Method Details

#runObject



16
17
18
19
20
21
22
23
# File 'lib/askcii/configuration_manager.rb', line 16

def run
  loop do
    show_current_configurations
    show_menu
    choice = handle_user_choice
    break if choice == :exit
  end
end