Sha256: 2ae58330becee0c043b9e934c4ce91c0bc0f2be66e148c432582b3b16bf9887d
Contents?: true
Size: 441 Bytes
Versions: 34
Compression:
Stored size: 441 Bytes
Contents
module Inch module CLI module Command module Options class Stats < BaseList FORMATS = %w(text json yaml) attribute :format, FORMATS.first def list_options(opts) super opts.on('-f', '--format [FORMAT]', FORMATS, 'Set output FORMAT') do |format| @format = format end end end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems