Class: PimpMyChangelog::CLI
- Inherits:
-
Object
- Object
- PimpMyChangelog::CLI
- Defined in:
- lib/pimpmychangelog/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
Class Method Details
.run! ⇒ Object
3 4 5 |
# File 'lib/pimpmychangelog/cli.rb', line 3 def self.run! new.run end |
Instance Method Details
#run ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/pimpmychangelog/cli.rb', line 11 def run changelog = read_changelog puts changelog puts "" puts "In case something goes wrong we printed out your current #{changelog_path} above" write_changelog(Pimper.new(user, project, changelog).better_changelog) puts "Your changelog is now pimped!" end |