Sha256: f885d48447c03e882c449d636799e9b56fc5e2c9ca6cbf661a2790ef5222fac8

Contents?: true

Size: 753 Bytes

Versions: 2

Compression:

Stored size: 753 Bytes

Contents

# frozen_string_literal: true

require 'tty-which'
require 'yaml'
require 'shellwords'
require 'fcntl'
require 'time'
require 'chronic'
require 'fileutils'
require_relative 'conductor/version'
require_relative 'conductor/env'
require_relative 'conductor/config'
require_relative 'conductor/hash'
require_relative 'conductor/array'
require_relative 'conductor/boolean'
require_relative 'conductor/string'
require_relative 'conductor/script'
require_relative 'conductor/command'
require_relative 'conductor/condition'

module Conductor
  class << self
    def stdin
      warn 'input on STDIN required' unless $stdin.stat.size.positive? || $stdin.fcntl(Fcntl::F_GETFL, 0).zero?
      @stdin ||= $stdin.read.strip.force_encoding('utf-8')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
marked-conductor-1.0.7 lib/conductor.rb
marked-conductor-1.0.6 lib/conductor.rb