Class: Git::Daily::Version

Inherits:
Command
  • Object
show all
Defined in:
lib/git-daily/command/version.rb

Instance Method Summary collapse

Methods inherited from Command

branches, clean?, current_branch, develop, has_branch?, has_remote_branch?, #initialize, logurl, master, merged_branches, pull_request_url, release_branches, remote, remote_branch, remotes

Constructor Details

This class inherits a constructor from Git::Daily::Command

Instance Method Details

#helpObject



6
7
8
# File 'lib/git-daily/command/version.rb', line 6

def help
  "version\tShow version"
end

#runObject



10
11
12
# File 'lib/git-daily/command/version.rb', line 10

def run
  puts "git-daily : version #{Git::Daily::VERSION}"
end