Class: Vercon::Commands::Init
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Vercon::Commands::Init
- Defined in:
- lib/vercon/commands/init.rb
Instance Method Summary collapse
- #call(**opts) ⇒ Object
-
#initialize ⇒ Init
constructor
A new instance of Init.
Constructor Details
Instance Method Details
#call(**opts) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/vercon/commands/init.rb', line 21 def call(**opts) setup_token(opts) setup_claude_model(opts) setup_default_open(opts) @stdout.ok("Config file #{@config_existed ? "updated" : "created"}!") end |