Sha256: d29c47f198828090d2980ba45543ee02b116c79f46111d9cc1fb844cd9d871c9
Contents?: true
Size: 935 Bytes
Versions: 3
Compression:
Stored size: 935 Bytes
Contents
module GitlogMD class CLI VERSION_STRING = " _________ {_________} )=======( / \\ GitlogMD | _________ | %10s || _ || || |_) || || | \\/ || __ || /\\ || __ (_|) |'---------'| (_|) `-.........-' " def initialize @arg_parser = GitlogMD::ArgumentParser.new @options = @arg_parser.parse @run = true if @options[:help] puts @arg_parser.usage @run = false return end if @options[:version] puts VERSION_STRING % GitlogMD::Version::STRING @run = false return end end def execute if @run GitlogMD::Parser.new.make_md(@options) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gitlog-md-0.0.3 | lib/gitlog-md/cli.rb |
gitlog-md-0.0.2 | lib/gitlog-md/cli.rb |
gitlog-md-0.0.1 | lib/gitlog-md/cli.rb |