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.88 bin/commands/choose.rb
doing-2.1.87 bin/commands/choose.rb
doing-2.1.86 bin/commands/choose.rb
doing-2.1.85 bin/commands/choose.rb
doing-2.1.84 bin/commands/choose.rb
doing-2.1.83 bin/commands/choose.rb
doing-2.1.82 bin/commands/choose.rb
doing-2.1.81 bin/commands/choose.rb
doing-2.1.80 bin/commands/choose.rb
doing-2.1.79 bin/commands/choose.rb
doing-2.1.78 bin/commands/choose.rb
doing-2.1.77 bin/commands/choose.rb
doing-2.1.76 bin/commands/choose.rb
doing-2.1.75 bin/commands/choose.rb
doing-2.1.74 bin/commands/choose.rb
doing-2.1.73 bin/commands/choose.rb
doing-2.1.72 bin/commands/choose.rb
doing-2.1.69 bin/commands/choose.rb
doing-2.1.68 bin/commands/choose.rb
doing-2.1.66 bin/commands/choose.rb