Sha256: 984417c31615198ff2d9e2135ef87ca8e281ca0642cfb24219d976b6a41d304f

Contents?: true

Size: 320 Bytes

Versions: 5

Compression:

Stored size: 320 Bytes

Contents

module Catfish
  class CLI::Resolve
    attr_reader :options

    def initialize(options)
      @options = options
    end

    def run
      builder = Dsl.new
      builder.eval_catfishfile
      IO.write('Catfishfile.lock', builder.servers.join("\n"))
      p "#{builder.servers.size} servers found"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
catfish-0.0.8 lib/catfish/cli/resolve.rb
catfish-0.0.7 lib/catfish/cli/resolve.rb
catfish-0.0.6 lib/catfish/cli/resolve.rb
catfish-0.0.5 lib/catfish/cli/resolve.rb
catfish-0.0.4 lib/catfish/cli/resolve.rb