Class: Autowow::CLI

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

Instance Method Summary collapse

Instance Method Details

#add_upstreamObject



52
53
54
# File 'lib/autowow/cli.rb', line 52

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

#branch_mergedObject



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_branchesObject



47
48
49
# File 'lib/autowow/cli.rb', line 47

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

#db_migrateObject



102
103
104
# File 'lib/autowow/cli.rb', line 102

def db_migrate
  Autowow::Features::Gem.db_migrate
end

#db_schemaObject



107
108
109
# File 'lib/autowow/cli.rb', line 107

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

#db_structureObject



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_pullObject



117
118
119
# File 'lib/autowow/cli.rb', line 117

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

#gem_cleanObject



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

#greetObject



82
83
84
# File 'lib/autowow/cli.rb', line 82

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

#hiObject



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

#openObject



67
68
69
# File 'lib/autowow/cli.rb', line 67

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

#rubocop_parallel_autocorrectObject



87
88
89
# File 'lib/autowow/cli.rb', line 87

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

#ruby_versionsObject



77
78
79
# File 'lib/autowow/cli.rb', line 77

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

#update_projectsObject



42
43
44
# File 'lib/autowow/cli.rb', line 42

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