Sha256: 8c7d43e3d7a6775f7ce661220c0d844b6b79560a157bd69474ba1088431ec606
Contents?: true
Size: 441 Bytes
Versions: 6
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
6 entries across 6 versions & 1 rubygems