Class: SolrSail::CLI

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

Instance Method Summary collapse

Instance Method Details

#installObject



9
10
11
12
# File 'lib/solr_sail/cli.rb', line 9

def install
    puts "Installing Solr config"
    SolrSail.install_config( :solr_home => options[:solr_home] )      
end

#install_jarsObject



15
16
17
18
# File 'lib/solr_sail/cli.rb', line 15

def install_jars
    puts "Installing Jar dependencies"
    SolrSail.install_jars()      
end

#startObject



23
24
25
# File 'lib/solr_sail/cli.rb', line 23

def start
    SolrSail.start( :solr_home => options[:solr_home], :port => options[:port] )   
end

#versionObject



28
29
30
# File 'lib/solr_sail/cli.rb', line 28

def version
  puts SolrSail::VERSION
end