Sha256: 842995c3b8736c87368fe49f43a5fbfc8841d1df066660c78637ea8dae3e3703
Contents?: true
Size: 865 Bytes
Versions: 1
Compression:
Stored size: 865 Bytes
Contents
require_relative './all' Gem.find_files('capistrano_multiconfig_parallel/extensions/**/*.rb').each { |path| require path } module CapistranoMulticonfigParallel # this is the class that will be invoked from terminal , and willl use the invoke task as the primary function. class CLI # method used to start def self.start CapistranoMulticonfigParallel.check_terminal_tty CapistranoMulticonfigParallel.original_args = ARGV.dup job_manager = CapistranoMulticonfigParallel::Application.new if job_manager.can_start? job_manager.start else Capistrano::Application.new.run end rescue Interrupt `stty icanon echo` $stderr.puts 'Command cancelled.' rescue => error $stderr.puts error $stderr.puts error.backtrace if error.respond_to?(:backtrace) exit(1) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano_multiconfig_parallel-0.16.0 | lib/capistrano_multiconfig_parallel/cli.rb |