Class: Autowow::CLI
- Inherits:
-
Thor
- Object
- Thor
- Autowow::CLI
- Defined in:
- lib/autowow/cli.rb
Instance Method Summary collapse
- #add_upstream ⇒ Object
- #branch_merged ⇒ Object
- #clear_branches ⇒ Object
- #exec(*cmd) ⇒ Object
- #gem_clean ⇒ Object
- #gem_release ⇒ Object
- #greet ⇒ Object
- #hi ⇒ Object
- #hi! ⇒ Object
- #open ⇒ Object
- #rubocop_parallel_autocorrect ⇒ Object
- #ruby_versions ⇒ Object
- #update_projects ⇒ Object
Instance Method Details
#add_upstream ⇒ Object
47 48 49 |
# File 'lib/autowow/cli.rb', line 47 def add_upstream Autowow::Features::Vcs.add_upstream end |
#branch_merged ⇒ Object
27 28 29 |
# File 'lib/autowow/cli.rb', line 27 def branch_merged Autowow::Features::Vcs.branch_merged end |
#clear_branches ⇒ Object
42 43 44 |
# File 'lib/autowow/cli.rb', line 42 def clear_branches Autowow::Features::Vcs.clear_branches end |
#exec(*cmd) ⇒ Object
87 88 89 |
# File 'lib/autowow/cli.rb', line 87 def exec(*cmd) Autowow::Executor.pretty_with_output.run(cmd) end |
#gem_clean ⇒ Object
67 68 69 |
# File 'lib/autowow/cli.rb', line 67 def gem_clean Autowow::Features::Gem.gem_clean end |
#gem_release ⇒ Object
32 33 34 |
# File 'lib/autowow/cli.rb', line 32 def gem_release Autowow::Features::Gem.gem_release end |
#greet ⇒ Object
77 78 79 |
# File 'lib/autowow/cli.rb', line 77 def greet Autowow::Features::Vcs.greet end |
#hi ⇒ Object
52 53 54 |
# File 'lib/autowow/cli.rb', line 52 def hi Autowow::Features::Vcs.hi end |
#hi! ⇒ Object
57 58 59 |
# File 'lib/autowow/cli.rb', line 57 def hi! Autowow::Features::Vcs.hi! end |
#open ⇒ Object
62 63 64 |
# File 'lib/autowow/cli.rb', line 62 def open Autowow::Features::Vcs.open end |
#rubocop_parallel_autocorrect ⇒ Object
82 83 84 |
# File 'lib/autowow/cli.rb', line 82 def rubocop_parallel_autocorrect Autowow::Features::Gem.rubocop_parallel_autocorrect end |
#ruby_versions ⇒ Object
72 73 74 |
# File 'lib/autowow/cli.rb', line 72 def ruby_versions Autowow::Features::Rbenv.ruby_versions end |
#update_projects ⇒ Object
37 38 39 |
# File 'lib/autowow/cli.rb', line 37 def update_projects Autowow::Features::Vcs.update_projects end |