Sha256: c850d5f0663ed719ef47b761d78089e100c4c83a71c6d22e087d287b4b248bb3
Contents?: true
Size: 851 Bytes
Versions: 29
Compression:
Stored size: 851 Bytes
Contents
module Inch module CLI module Command # Base class for Command objects concerned with lists of objects # # Commands subclassing from this class are called with an optional list # of paths in the form: # # $ inch COMMAND [paths] [options] # # @abstract class BaseList < Base attr_accessor :objects # Prepares the list of objects and grade_lists, parsing arguments and # running the source parser. # # @param *args [Array<String>] the list of arguments. # @return [void] def prepare_codebase(*args) @options.parse(args) @options.verify config = Config::Codebase.new(@options.paths, @options.excluded) @codebase = ::Inch::Codebase.parse(Dir.pwd, config) end end end end end
Version data entries
29 entries across 29 versions & 1 rubygems