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
- #hi ⇒ Object
- #hi! ⇒ Object
- #open ⇒ Object
- #rubocop_parallel_autocorrect ⇒ Object
- #ruby_versions ⇒ Object
- #update_projects ⇒ Object
Instance Method Details
#add_upstream ⇒ Object
52 53 54 |
# File 'lib/autowow/cli.rb', line 52 def add_upstream Autowow::Features::Vcs.add_upstream end |
#branch_merged ⇒ Object
32 33 34 |
# File 'lib/autowow/cli.rb', line 32 def branch_merged Autowow::Features::Vcs.branch_merged end |
#bundle_exec(*cmd) ⇒ Object
97 98 99 |
# File 'lib/autowow/cli.rb', line 97 def bundle_exec(*cmd) Autowow::Features::Gem.bundle_exec(cmd) end |
#clear_branches ⇒ Object
47 48 49 |
# File 'lib/autowow/cli.rb', line 47 def clear_branches Autowow::Features::Vcs.clear_branches end |
#db_migrate ⇒ Object
102 103 104 |
# File 'lib/autowow/cli.rb', line 102 def db_migrate Autowow::Features::Gem.db_migrate end |
#db_schema ⇒ Object
107 108 109 |
# File 'lib/autowow/cli.rb', line 107 def db_schema Autowow::Features::Gem.db_schema end |
#db_structure ⇒ Object
112 113 114 |
# File 'lib/autowow/cli.rb', line 112 def db_structure Autowow::Features::Gem.db_structure end |
#exec(*cmd) ⇒ Object
92 93 94 |
# File 'lib/autowow/cli.rb', line 92 def exec(*cmd) Autowow::Executor.pretty_with_output.run(cmd) end |
#force_pull ⇒ Object
117 118 119 |
# File 'lib/autowow/cli.rb', line 117 def force_pull Autowow::Features::Vcs.force_pull end |
#gem_clean ⇒ Object
72 73 74 |
# File 'lib/autowow/cli.rb', line 72 def gem_clean Autowow::Features::Gem.gem_clean end |
#gem_release(version_bump = nil) ⇒ Object
37 38 39 |
# File 'lib/autowow/cli.rb', line 37 def gem_release(version_bump = nil) Autowow::Features::Gem.gem_release(version_bump) end |
#greet ⇒ Object
82 83 84 |
# File 'lib/autowow/cli.rb', line 82 def greet Autowow::Features::Vcs.greet end |
#hi ⇒ Object
57 58 59 |
# File 'lib/autowow/cli.rb', line 57 def hi Autowow::Features::Vcs.hi end |
#hi! ⇒ Object
62 63 64 |
# File 'lib/autowow/cli.rb', line 62 def hi! Autowow::Features::Vcs.hi! end |
#open ⇒ Object
67 68 69 |
# File 'lib/autowow/cli.rb', line 67 def open Autowow::Features::Vcs.open end |
#rubocop_parallel_autocorrect ⇒ Object
87 88 89 |
# File 'lib/autowow/cli.rb', line 87 def rubocop_parallel_autocorrect Autowow::Features::Gem.rubocop_parallel_autocorrect end |
#ruby_versions ⇒ Object
77 78 79 |
# File 'lib/autowow/cli.rb', line 77 def ruby_versions Autowow::Features::Rbenv.ruby_versions end |
#update_projects ⇒ Object
42 43 44 |
# File 'lib/autowow/cli.rb', line 42 def update_projects Autowow::Features::Vcs.update_projects end |