Sha256: 249a460ccf3e8f9f7f2c8690b5c2e2bd866cf46337dfc9d55580a80669c98f19

Contents?: true

Size: 238 Bytes

Versions: 19

Compression:

Stored size: 238 Bytes

Contents

require_relative 'file_traverser'

module Fasterer
  class CLI
    def self.execute
      file_traverser = Fasterer::FileTraverser.new(ARGV[0])
      file_traverser.traverse
      abort if file_traverser.offenses_found?
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
fasterer-0.11.0 lib/fasterer/cli.rb
fasterer-0.10.1 lib/fasterer/cli.rb
fasterer-0.10.0 lib/fasterer/cli.rb
fasterer-0.9.0 lib/fasterer/cli.rb
fasterer-0.8.3 lib/fasterer/cli.rb
fasterer-0.8.2 lib/fasterer/cli.rb
fasterer-0.8.1 lib/fasterer/cli.rb
fasterer-0.8.0 lib/fasterer/cli.rb
fasterer-0.7.1 lib/fasterer/cli.rb
fasterer-0.7.0 lib/fasterer/cli.rb
fasterer-0.6.0 lib/fasterer/cli.rb
fasterer-0.5.1 lib/fasterer/cli.rb
fasterer-0.5.0 lib/fasterer/cli.rb
fasterer-0.4.2 lib/fasterer/cli.rb
fasterer-0.4.1 lib/fasterer/cli.rb
fasterer-0.4.0 lib/fasterer/cli.rb
fasterer-0.3.2 lib/fasterer/cli.rb
fasterer-0.3.1 lib/fasterer/cli.rb
fasterer-0.3.0 lib/fasterer/cli.rb