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
- #bundle_exec(*cmd) ⇒ Object
- #clear_branches ⇒ Object
- #exec(*cmd) ⇒ Object
- #gem_clean ⇒ Object
- #gem_release(version = nil) ⇒ 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
48 49 50 |
# File 'lib/autowow/cli.rb', line 48 def add_upstream Autowow::Features::Vcs.add_upstream end |
#branch_merged ⇒ Object
28 29 30 |
# File 'lib/autowow/cli.rb', line 28 def branch_merged Autowow::Features::Vcs.branch_merged end |
#bundle_exec(*cmd) ⇒ Object
93 94 95 |
# File 'lib/autowow/cli.rb', line 93 def bundle_exec(*cmd) Autowow::Features::Gem.bundle_exec(cmd) end |
#clear_branches ⇒ Object
43 44 45 |
# File 'lib/autowow/cli.rb', line 43 def clear_branches Autowow::Features::Vcs.clear_branches end |
#exec(*cmd) ⇒ Object
88 89 90 |
# File 'lib/autowow/cli.rb', line 88 def exec(*cmd) Autowow::Executor.pretty_with_output.run(cmd) end |
#gem_clean ⇒ Object
68 69 70 |
# File 'lib/autowow/cli.rb', line 68 def gem_clean Autowow::Features::Gem.gem_clean end |
#gem_release(version = nil) ⇒ Object
33 34 35 |
# File 'lib/autowow/cli.rb', line 33 def gem_release(version = nil) Autowow::Features::Gem.gem_release(version) end |
#greet ⇒ Object
78 79 80 |
# File 'lib/autowow/cli.rb', line 78 def greet Autowow::Features::Vcs.greet end |
#hi ⇒ Object
53 54 55 |
# File 'lib/autowow/cli.rb', line 53 def hi Autowow::Features::Vcs.hi end |
#hi! ⇒ Object
58 59 60 |
# File 'lib/autowow/cli.rb', line 58 def hi! Autowow::Features::Vcs.hi! end |
#open ⇒ Object
63 64 65 |
# File 'lib/autowow/cli.rb', line 63 def open Autowow::Features::Vcs.open end |
#rubocop_parallel_autocorrect ⇒ Object
83 84 85 |
# File 'lib/autowow/cli.rb', line 83 def rubocop_parallel_autocorrect Autowow::Features::Gem.rubocop_parallel_autocorrect end |
#ruby_versions ⇒ Object
73 74 75 |
# File 'lib/autowow/cli.rb', line 73 def ruby_versions Autowow::Features::Rbenv.ruby_versions end |
#update_projects ⇒ Object
38 39 40 |
# File 'lib/autowow/cli.rb', line 38 def update_projects Autowow::Features::Vcs.update_projects end |