Class: Kachikachi::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/kachikachi/cli.rb

Instance Method Summary collapse

Instance Method Details

#countObject



19
20
21
22
# File 'lib/kachikachi/cli.rb', line 19

def count
  @options[:milestones] || @options['pull-request-numbers'] or raise 'Need to specify milestones or pull request numbers. Please use --milestones or --pull-request-numbers options.'
  Counter.new(self).count
end