Class: Github::Renaming

Inherits:
Thor
  • Object
show all
Defined in:
lib/github/renaming.rb

Instance Method Summary collapse

Instance Method Details

#default_branch(*args) ⇒ Object



16
17
18
19
# File 'lib/github/renaming.rb', line 16

def default_branch(*args)
  prepare(*args)
  Github.rename_default_branch(*args, options)
end

#versionObject



23
24
25
# File 'lib/github/renaming.rb', line 23

def version
  say "github-renaming #{Github::VERSION}"
end