Class: Autowow::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/autowow/cli.rb

Instance Method Summary collapse

Instance Method Details

#add_upstreamObject



55
56
57
# File 'lib/autowow/cli.rb', line 55

def add_upstream
  Autowow::Features::Vcs.add_upstream
end

#branch_mergedObject



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_branchesObject



50
51
52
# File 'lib/autowow/cli.rb', line 50

def clear_branches
  Autowow::Features::Vcs.clear_branches
end

#db_migrate_resetObject



105
106
107
# File 'lib/autowow/cli.rb', line 105

def db_migrate_reset
  Autowow::Features::Gem.db_migrate_reset
end

#db_schemaObject



110
111
112
# File 'lib/autowow/cli.rb', line 110

def db_schema
  Autowow::Features::Gem.db_schema
end

#db_structureObject



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_pullObject



120
121
122
# File 'lib/autowow/cli.rb', line 120

def force_pull
  Autowow::Features::Vcs.force_pull
end

#gem_cleanObject



75
76
77
# File 'lib/autowow/cli.rb', line 75

def gem_clean
  Autowow::Features::Gem.gem_clean
end

#gem_install_sourceObject



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

#greetObject



85
86
87
# File 'lib/autowow/cli.rb', line 85

def greet
  Autowow::Features::Vcs.greet
end

#heroku_db_migrateObject



125
126
127
# File 'lib/autowow/cli.rb', line 125

def heroku_db_migrate
  Autowow::Features::Heroku.db_migrate
end

#hiObject



60
61
62
# File 'lib/autowow/cli.rb', line 60

def hi
  Autowow::Features::Vcs.hi
end

#hi!Object



65
66
67
# File 'lib/autowow/cli.rb', line 65

def hi!
  Autowow::Features::Vcs.hi!
end

#openObject



70
71
72
# File 'lib/autowow/cli.rb', line 70

def open
  Autowow::Features::Vcs.open
end

#rubocop_parallel_autocorrectObject



90
91
92
# File 'lib/autowow/cli.rb', line 90

def rubocop_parallel_autocorrect
  Autowow::Features::Gem.rubocop_parallel_autocorrect
end

#ruby_checkObject



130
131
132
# File 'lib/autowow/cli.rb', line 130

def ruby_check
  Autowow::Features::Gem.ruby_check
end

#ruby_versionsObject



80
81
82
# File 'lib/autowow/cli.rb', line 80

def ruby_versions
  Autowow::Features::Rbenv.ruby_versions
end

#update_projectsObject



45
46
47
# File 'lib/autowow/cli.rb', line 45

def update_projects
  Autowow::Features::Vcs.update_projects
end