Class: PlusOne::Cli
- Inherits:
-
Thor
- Object
- Thor
- PlusOne::Cli
- Defined in:
- lib/plus-one/cli.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/plus-one/cli.rb', line 25 def create git_fetch! say " You are about to create plus-one '\#{next_release}'.\n\n This means:\n * a tag '\#{next_release}' will be created\n * this tag will be pushed to origin\n EOS\n create_release!(next_release) if yes?('Continue?')\nend\n" |
#current ⇒ Object
38 39 40 41 |
# File 'lib/plus-one/cli.rb', line 38 def current git_fetch! say("#{current_release} (#{release_date(current_release)})") end |