Sha256: 546d05830846a17eb54135c9feab38d532b1a79469dc91445b505771360f6fcc
Contents?: true
Size: 644 Bytes
Versions: 5
Compression:
Stored size: 644 Bytes
Contents
require "mixlib/cli" module Recognizer class CLI include Mixlib::CLI option :config_file, :short => "-c CONFIG", :long => "--config CONFIG", :description => "The config file path" option :verbose, :short => "-v", :long => "--verbose", :description => "Enable verbose logging", :boolean => true, :default => false option :help, :short => "-h", :long => "--help", :description => "Show this message", :on => :tail, :boolean => true, :show_options => true, :exit => 0 def read parse_options config end end end
Version data entries
5 entries across 5 versions & 1 rubygems