class GGSM::Cli

Public Instance Methods

delete(branch) click to toggle source
# File lib/ggsm.rb, line 60
def delete(branch)
  remote = options[:remote]
  all = options[:all]
  delete_flow(branch, remote, all)
end
finish() click to toggle source
# File lib/ggsm.rb, line 42
def finish
  force = options[:force]
  finish_flow(force)
end
foreach(*commands) click to toggle source
# File lib/ggsm.rb, line 67
def foreach(*commands)
  foreach_flow(*commands)
end
merge(branch) click to toggle source
# File lib/ggsm.rb, line 35
def merge(branch)
  rebase = options[:rebase]
  merge_flow(branch, rebase)
end
mr(branch, title) click to toggle source
# File lib/ggsm.rb, line 48
def mr(branch, title)
  mr_flow(branch, title)
end
start(branch, action='') click to toggle source
# File lib/ggsm.rb, line 29
def start(branch, action='')
  start_flow(branch, action)
end
switch(branch) click to toggle source
# File lib/ggsm.rb, line 53
def switch(branch)
  switch_flow(branch)
end
sync() click to toggle source
# File lib/ggsm.rb, line 24
def sync
  sync_flow
end
version() click to toggle source
# File lib/ggsm.rb, line 72
def version
  puts VERSION
end