Class: SolrSail::CLI
- Inherits:
-
Thor
- Object
- Thor
- SolrSail::CLI
- Defined in:
- lib/solr_sail/cli.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
9 10 11 12 |
# File 'lib/solr_sail/cli.rb', line 9 def install puts "Installing Solr config" SolrSail.install_config( :solr_home => [:solr_home] ) end |
#install_jars ⇒ Object
15 16 17 18 |
# File 'lib/solr_sail/cli.rb', line 15 def install_jars puts "Installing Jar dependencies" SolrSail.install_jars() end |
#start ⇒ Object
23 24 25 |
# File 'lib/solr_sail/cli.rb', line 23 def start SolrSail.start( :solr_home => [:solr_home], :port => [:port] ) end |
#version ⇒ Object
28 29 30 |
# File 'lib/solr_sail/cli.rb', line 28 def version puts SolrSail::VERSION end |