Sha256: 1b5937ad8cd4e726d00613239cd1de5bb654e9baf2f5fcfd65d18e7c20ca9380
Contents?: true
Size: 851 Bytes
Versions: 23
Compression:
Stored size: 851 Bytes
Contents
require_relative './all' module CapistranoMulticonfigParallel # this is the class that will be invoked from terminal , and willl use the invoke task as the primary function. class CLI class << self include CapistranoMulticonfigParallel::ApplicationHelper # method used to start def start before_start configuration_valid? run_the_application end def before_start(argv = ARGV) check_terminal_tty CapistranoMulticonfigParallel.original_args = argv.dup end def run_the_application begin application = CapistranoMulticonfigParallel::Application.new execute_with_rescue('stderr') do application.start end ensure application.jobs_restore_application_state end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems