Sha256: 6779a6109082b2e4ecccfccf1552ed3a583423d7616a06e46b5dcb675f61aa6b

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

module Owners
  class CLI < Thor
    desc "for [FILES...]", "List owners for a set of files"
    method_option :file, desc: "The name of the OWNERS file"
    def for(*files)
      Owners.file = options[:file] if options[:file]
      Owners.for(*files).each do |owner|
        puts owner
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
owners-0.0.3 lib/owners/cli.rb
owners-0.0.2 lib/owners/cli.rb