Class: Octy::CLI
- Inherits:
-
Thor
- Object
- Thor
- Octy::CLI
- Defined in:
- lib/octy/cli.rb
Instance Method Summary collapse
Instance Method Details
#changelog ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/octy/cli.rb', line 15 def changelog begin octy = Octy::Core.new octy.changelog([:repo], [:from], [:to]) rescue Octokit::Unauthorized raise Octy::InvalidAccessTokenError rescue Octokit::NotFound raise Octy::InvalidResourceError rescue => e puts e. end end |