Sha256: be9a0daae6d3e0cbc72b269e1b4458fbdb9a686edd65176ace1f9cf922a010f5

Contents?: true

Size: 641 Bytes

Versions: 17

Compression:

Stored size: 641 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
    def self.start
      CapistranoMulticonfigParallel.check_terminal_tty
      CapistranoMulticonfigParallel.original_args = ARGV.dup
      CapistranoMulticonfigParallel::Application.new.run
    rescue Interrupt
      `stty icanon echo`
      $stderr.puts 'Command cancelled.'
    rescue => error
      $stderr.puts error
      exit(1)
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
capistrano_multiconfig_parallel-0.15.6 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.15.5 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.15.4 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.15.3 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.15.2 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.15.1 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.15.0 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.14.0 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.13.2 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.13.1 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.13.0 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.12.9 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.12.8 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.12.7 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.12.6 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.12.5 lib/capistrano_multiconfig_parallel/cli.rb
capistrano_multiconfig_parallel-0.12.3 lib/capistrano_multiconfig_parallel/cli.rb