Sha256: 6eaae57b803bb6f0b2147f4ed520e5d3fee99359f1eac838fb258d69e225fa50
Contents?: true
Size: 311 Bytes
Versions: 8
Compression:
Stored size: 311 Bytes
Contents
# @@sections desc 'List sections' command :sections do |c| c.desc 'List in single column' c.switch %i[c column], negatable: false, default_value: false c.action do |_global_options, options, _args| joiner = options[:column] ? "\n" : "\t" print @wwid.content.section_titles.join(joiner) end end
Version data entries
8 entries across 8 versions & 1 rubygems