Class: WhatsupGithub::CLI
- Inherits:
-
Thor
- Object
- Thor
- WhatsupGithub::CLI
- Defined in:
- lib/whatsup_github/cli.rb
Overview
CLI options
Instance Method Summary collapse
Instance Method Details
#since(date = Date.today - 7) ⇒ Object
13 14 15 16 17 |
# File 'lib/whatsup_github/cli.rb', line 13 def since(date = Date.today - 7) WhatsupGithub::Config.filename = [:config] runner = WhatsupGithub::Runner.new(Date.parse(date.to_s)) runner.run end |
#version ⇒ Object
20 21 22 |
# File 'lib/whatsup_github/cli.rb', line 20 def version puts "Current version is #{WhatsupGithub::VERSION}" end |