Class: ReplacerBot::CLI
- Inherits:
-
Thor
- Object
- Thor
- ReplacerBot::CLI
- Defined in:
- lib/replacer_bot/cli.rb
Instance Method Summary collapse
Instance Method Details
#dry_run ⇒ Object
18 19 20 21 |
# File 'lib/replacer_bot/cli.rb', line 18 def dry_run r = Replacer.new r.tweet dry_run: true, chatty: true end |
#tweet ⇒ Object
12 13 14 15 |
# File 'lib/replacer_bot/cli.rb', line 12 def tweet r = Replacer.new r.tweet chatty: true end |
#version ⇒ Object
6 7 8 |
# File 'lib/replacer_bot/cli.rb', line 6 def version puts "replacer version #{VERSION}" end |