Module: Flucti::CLI
Instance Method Summary collapse
Instance Method Details
#start ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/flucti/cli.rb', line 8 def start adjust_environment reinterpret_help_option Flucti.boot cli = Capistrano::CLI.new(ARGV) cli. cli.[:verbose] = Capistrano::Logger::INFO cli.execute! end |
#tasks ⇒ Object
19 20 21 22 23 24 |
# File 'lib/flucti/cli.rb', line 19 def tasks adjust_environment config = Capistrano::Configuration.new config.load File.dirname(__FILE__) + '/tasks.rb' return config end |