lib/gurke/cli.rb in gurke-2.0.0.dev.1.b20 vs lib/gurke/cli.rb in gurke-2.0.0.dev.1.b22

- old
+ new

@@ -1,9 +1,8 @@ require 'trollop' module Gurke - # class CLI # # Run CLI with given arguments. # # @param argv [Array<String>] Tokenized argument list. @@ -43,9 +42,10 @@ def print_help parser.educate($stdout) end + # rubocop:disable MethodLength def parser @parser ||= Trollop::Parser.new do opt :help, 'Print this help.' opt :version, 'Show program version information.' opt :backtrace, 'Show full error backtraces.'