Module: FactorySloth::CLI

Extended by:
CLI
Included in:
CLI
Defined in:
lib/factory_sloth/cli.rb

Instance Method Summary collapse

Instance Method Details

#call(argv = ARGV) ⇒ Object



7
8
9
10
11
12
# File 'lib/factory_sloth/cli.rb', line 7

def call(argv = ARGV)
  args = option_parser.parse!(argv)
  specs = SpecPicker.call(paths: args)
  results = FileProcessor.call(files: specs, forced_files: args)
  print_summary(results)
end