Class: CLAI::Commands::Setup
- Inherits:
-
Object
- Object
- CLAI::Commands::Setup
- Defined in:
- lib/clai/commands/setup.rb
Instance Method Summary collapse
Instance Method Details
#run(force) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/clai/commands/setup.rb', line 4 def run(force) if clai_setup? && !force puts S.(:already_setup) else generate_config_directory ask_for_open_ai_api_key generate_sample_config_file end end |