Sha256: b25fa7f416bbb981de3e81423c4f365fdd7437e23b75a0a017938257aef212a8

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

module Catfish
  class CLI::Resolve
    attr_reader :options, :thor

    def initialize(options, thor)
      @options = options
      @thor = thor
    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

2 entries across 2 versions & 1 rubygems

Version Path
catfish-0.0.3 lib/catfish/cli/resolve.rb
catfish-0.0.2 lib/catfish/cli/resolve.rb