Sha256: 8470682919dc0bc0c8e71a9c02ca9304a0d501baf483ae27b41f0b47db812b2f
Contents?: true
Size: 803 Bytes
Versions: 11
Compression:
Stored size: 803 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 @codebase = ::Inch::Codebase.parse(Dir.pwd, @options.paths, @options.excluded) end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems