Class: GitPivot::Manager
- Inherits:
-
Thor
- Object
- Thor
- GitPivot::Manager
- Includes:
- Shared
- Defined in:
- lib/git-pivot/manager.rb
Instance Method Summary collapse
Methods included from Shared
Instance Method Details
#deliver ⇒ Object
37 38 39 40 41 |
# File 'lib/git-pivot/manager.rb', line 37 def deliver GitPivot::Pivotal.deliver GitPivot::Git.deliver out "Story complete." end |
#finish ⇒ Object
30 31 32 33 34 |
# File 'lib/git-pivot/manager.rb', line 30 def finish GitPivot::Pivotal.finish GitPivot::Git.finish([:commit]) out "Story complete." end |
#info ⇒ Object
11 12 13 14 |
# File 'lib/git-pivot/manager.rb', line 11 def info out GitPivot::Git.info out GitPivot::Pivotal.info end |
#start(ticket = nil) ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/git-pivot/manager.rb', line 18 def start(ticket=nil) id, type, text = GitPivot::Pivotal.start(ticket, [:mine]) out text out GitPivot::Git.start(id, type) out "You are now licensed to develop. Godspeed." end |