Class: Autowow::CLI

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

Instance Method Summary collapse

Instance Method Details

#add_upstreamObject



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

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

#branch_mergedObject



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

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

#clear_branchesObject



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

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

#exec(*cmd) ⇒ Object



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

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

#gem_cleanObject



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

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

#gem_releaseObject



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

def gem_release
  Autowow::Features::Gem.gem_release
end

#greetObject



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

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

#hiObject



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

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

#hi!Object



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

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

#openObject



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

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

#rubocop_parallel_autocorrectObject



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

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

#ruby_versionsObject



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

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

#update_projectsObject



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

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