Class: Terjira::CLI
- Inherits:
-
Thor
- Object
- Thor
- Terjira::CLI
- Defined in:
- lib/terjira.rb
Overview
Main CLI
Instance Method Summary collapse
Instance Method Details
#login ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/terjira.rb', line 16 def login pastel = Pastel.new Client::Base. Client::Base.() # for touch base resource Client::Field.all puts pastel.blue("Login successful") rescue JIRA::HTTPError => e puts pastel.red(e.) Client::Base. rescue => e Client::Base. raise e end |