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
- #db_migrate ⇒ Object
- #db_schema ⇒ Object
- #db_structure ⇒ Object
- #exec(*cmd) ⇒ Object
- #force_pull ⇒ Object
- #gem_clean ⇒ Object
- #gem_release(version_bump = nil) ⇒ Object
- #greet ⇒ Object
- #heroku_db_migrate ⇒ Object
- #hi ⇒ Object
- #hi! ⇒ Object
- #open ⇒ Object
- #rubocop_parallel_autocorrect ⇒ Object
- #ruby_versions ⇒ Object
- #update_projects ⇒ Object
Instance Method Details
#add_upstream ⇒ Object
54 55 56 |
# File 'lib/autowow/cli.rb', line 54 def add_upstream Autowow::Features::Vcs.add_upstream end |
#branch_merged ⇒ Object
34 35 36 |
# File 'lib/autowow/cli.rb', line 34 def branch_merged Autowow::Features::Vcs.branch_merged end |
#bundle_exec(*cmd) ⇒ Object
99 100 101 |
# File 'lib/autowow/cli.rb', line 99 def bundle_exec(*cmd) Autowow::Features::Gem.bundle_exec(cmd) end |
#clear_branches ⇒ Object
49 50 51 |
# File 'lib/autowow/cli.rb', line 49 def clear_branches Autowow::Features::Vcs.clear_branches end |
#db_migrate ⇒ Object
104 105 106 |
# File 'lib/autowow/cli.rb', line 104 def db_migrate Autowow::Features::Gem.db_migrate end |
#db_schema ⇒ Object
109 110 111 |
# File 'lib/autowow/cli.rb', line 109 def db_schema Autowow::Features::Gem.db_schema end |
#db_structure ⇒ Object
114 115 116 |
# File 'lib/autowow/cli.rb', line 114 def db_structure Autowow::Features::Gem.db_structure end |
#exec(*cmd) ⇒ Object
94 95 96 |
# File 'lib/autowow/cli.rb', line 94 def exec(*cmd) Autowow::Executor.pretty_with_output.run(cmd) end |
#force_pull ⇒ Object
119 120 121 |
# File 'lib/autowow/cli.rb', line 119 def force_pull Autowow::Features::Vcs.force_pull end |
#gem_clean ⇒ Object
74 75 76 |
# File 'lib/autowow/cli.rb', line 74 def gem_clean Autowow::Features::Gem.gem_clean end |
#gem_release(version_bump = nil) ⇒ Object
39 40 41 |
# File 'lib/autowow/cli.rb', line 39 def gem_release(version_bump = nil) Autowow::Features::Gem.gem_release(version_bump) end |
#greet ⇒ Object
84 85 86 |
# File 'lib/autowow/cli.rb', line 84 def greet Autowow::Features::Vcs.greet end |
#heroku_db_migrate ⇒ Object
124 125 126 |
# File 'lib/autowow/cli.rb', line 124 def heroku_db_migrate Autowow::Features::Heroku.db_migrate end |
#open ⇒ Object
69 70 71 |
# File 'lib/autowow/cli.rb', line 69 def open Autowow::Features::Vcs.open end |
#rubocop_parallel_autocorrect ⇒ Object
89 90 91 |
# File 'lib/autowow/cli.rb', line 89 def rubocop_parallel_autocorrect Autowow::Features::Gem.rubocop_parallel_autocorrect end |
#ruby_versions ⇒ Object
79 80 81 |
# File 'lib/autowow/cli.rb', line 79 def ruby_versions Autowow::Features::Rbenv.ruby_versions end |
#update_projects ⇒ Object
44 45 46 |
# File 'lib/autowow/cli.rb', line 44 def update_projects Autowow::Features::Vcs.update_projects end |