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_reset ⇒ Object
- #db_schema ⇒ Object
- #db_structure ⇒ Object
- #exec(*cmd) ⇒ Object
- #force_pull ⇒ Object
- #gem_clean ⇒ Object
- #gem_install_source ⇒ Object
- #gem_release(version_bump = nil) ⇒ Object
- #greet ⇒ Object
- #heroku_db_migrate ⇒ Object
- #hi ⇒ Object
- #hi! ⇒ Object
- #open ⇒ Object
- #rubocop_parallel_autocorrect ⇒ Object
- #ruby_check ⇒ Object
- #ruby_versions ⇒ Object
- #update_projects ⇒ Object
Instance Method Details
#add_upstream ⇒ Object
55 56 57 |
# File 'lib/autowow/cli.rb', line 55 def add_upstream Autowow::Features::Vcs.add_upstream end |
#branch_merged ⇒ Object
35 36 37 |
# File 'lib/autowow/cli.rb', line 35 def branch_merged Autowow::Features::Vcs.branch_merged end |
#bundle_exec(*cmd) ⇒ Object
100 101 102 |
# File 'lib/autowow/cli.rb', line 100 def bundle_exec(*cmd) Autowow::Features::Gem.bundle_exec(cmd) end |
#clear_branches ⇒ Object
50 51 52 |
# File 'lib/autowow/cli.rb', line 50 def clear_branches Autowow::Features::Vcs.clear_branches end |
#db_migrate_reset ⇒ Object
105 106 107 |
# File 'lib/autowow/cli.rb', line 105 def db_migrate_reset Autowow::Features::Gem.db_migrate_reset end |
#db_schema ⇒ Object
110 111 112 |
# File 'lib/autowow/cli.rb', line 110 def db_schema Autowow::Features::Gem.db_schema end |
#db_structure ⇒ Object
115 116 117 |
# File 'lib/autowow/cli.rb', line 115 def db_structure Autowow::Features::Gem.db_structure end |
#exec(*cmd) ⇒ Object
95 96 97 |
# File 'lib/autowow/cli.rb', line 95 def exec(*cmd) Autowow::Executor.pretty_with_output.run(cmd) end |
#force_pull ⇒ Object
120 121 122 |
# File 'lib/autowow/cli.rb', line 120 def force_pull Autowow::Features::Vcs.force_pull end |
#gem_clean ⇒ Object
75 76 77 |
# File 'lib/autowow/cli.rb', line 75 def gem_clean Autowow::Features::Gem.gem_clean end |
#gem_install_source ⇒ Object
135 136 137 |
# File 'lib/autowow/cli.rb', line 135 def gem_install_source Autowow::Features::Gem.gem_install_source end |
#gem_release(version_bump = nil) ⇒ Object
40 41 42 |
# File 'lib/autowow/cli.rb', line 40 def gem_release(version_bump = nil) Autowow::Features::Gem.gem_release(version_bump) end |
#greet ⇒ Object
85 86 87 |
# File 'lib/autowow/cli.rb', line 85 def greet Autowow::Features::Vcs.greet end |
#heroku_db_migrate ⇒ Object
125 126 127 |
# File 'lib/autowow/cli.rb', line 125 def heroku_db_migrate Autowow::Features::Heroku.db_migrate end |
#open ⇒ Object
70 71 72 |
# File 'lib/autowow/cli.rb', line 70 def open Autowow::Features::Vcs.open end |
#rubocop_parallel_autocorrect ⇒ Object
90 91 92 |
# File 'lib/autowow/cli.rb', line 90 def rubocop_parallel_autocorrect Autowow::Features::Gem.rubocop_parallel_autocorrect end |
#ruby_check ⇒ Object
130 131 132 |
# File 'lib/autowow/cli.rb', line 130 def ruby_check Autowow::Features::Gem.ruby_check end |
#ruby_versions ⇒ Object
80 81 82 |
# File 'lib/autowow/cli.rb', line 80 def ruby_versions Autowow::Features::Rbenv.ruby_versions end |
#update_projects ⇒ Object
45 46 47 |
# File 'lib/autowow/cli.rb', line 45 def update_projects Autowow::Features::Vcs.update_projects end |