Class: Autowow::CLI

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

Instance Method Summary collapse

Instance Method Details

#add_upstreamObject



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

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

#branch_mergedObject



28
29
30
# File 'lib/autowow/cli.rb', line 28

def branch_merged
  Autowow::Features::Vcs.branch_merged
end

#bundle_exec(*cmd) ⇒ Object



93
94
95
# File 'lib/autowow/cli.rb', line 93

def bundle_exec(*cmd)
  Autowow::Features::Gem.bundle_exec(cmd)
end

#clear_branchesObject



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

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

#exec(*cmd) ⇒ Object



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

def exec(*cmd)
  Autowow::Executor.pretty_with_output.run(cmd)
end

#gem_cleanObject



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

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

#gem_release(version = nil) ⇒ Object



33
34
35
# File 'lib/autowow/cli.rb', line 33

def gem_release(version = nil)
  Autowow::Features::Gem.gem_release(version)
end

#greetObject



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

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

#hiObject



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

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

#hi!Object



58
59
60
# File 'lib/autowow/cli.rb', line 58

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

#openObject



63
64
65
# File 'lib/autowow/cli.rb', line 63

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

#rubocop_parallel_autocorrectObject



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

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

#ruby_versionsObject



73
74
75
# File 'lib/autowow/cli.rb', line 73

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

#update_projectsObject



38
39
40
# File 'lib/autowow/cli.rb', line 38

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