Sha256: b1c86e8cf9c1ef2f22b47d9ab34412d9e3752c162993f435d834957790d13df7

Contents?: true

Size: 270 Bytes

Versions: 56

Compression:

Stored size: 270 Bytes

Contents

# @@choose
desc 'Select a section to display from a menu'
command :choose do |c|
  c.action do |_global_options, _options, _args|
    section = @wwid.choose_section

    Doing::Pager.page @wwid.list_section({ section: section.cap_first, count: 0 }) if section
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
doing-2.1.65 bin/commands/choose.rb
doing-2.1.64 bin/commands/choose.rb
doing-2.1.63 bin/commands/choose.rb
doing-2.1.62 bin/commands/choose.rb
doing-2.1.61 bin/commands/choose.rb
doing-2.1.60 bin/commands/choose.rb
doing-2.1.58 bin/commands/choose.rb
doing-2.1.57 bin/commands/choose.rb
doing-2.1.56 bin/commands/choose.rb
doing-2.1.55 bin/commands/choose.rb
doing-2.1.54 bin/commands/choose.rb
doing-2.1.52 bin/commands/choose.rb
doing-2.1.49 bin/commands/choose.rb
doing-2.1.48 bin/commands/choose.rb
doing-2.1.47 bin/commands/choose.rb
doing-2.1.46 bin/commands/choose.rb
doing-2.1.45 bin/commands/choose.rb
doing-2.1.44 bin/commands/choose.rb
doing-2.1.43 bin/commands/choose.rb
doing-2.1.42 bin/commands/choose.rb