Class: ActiveAgent::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/active_agent/cli.rb

Instance Method Summary collapse

Instance Method Details

#kickoff(file_path) ⇒ Object



8
9
10
11
12
13
14
15
16
# File 'lib/active_agent/cli.rb', line 8

def kickoff(file_path)
  unless File.exist?(file_path)
    say_error "File not found: #{file_path}", :red
    exit(1)
  end

  say "🚀 Launching ActiveAgent team from #{file_path}...", :green
  load file_path
end

#versionObject



19
20
21
# File 'lib/active_agent/cli.rb', line 19

def version
  say "ActiveAgent v#{ActiveAgent::VERSION}", :blue
end