Sha256: e101722ba2a2a94aeb68447108a991c1bb6ada1f0d584a0b95d2c333cf80dd46

Contents?: true

Size: 336 Bytes

Versions: 10

Compression:

Stored size: 336 Bytes

Contents

require 'rprogram/task'

class LSTask < RProgram::Task

  short_option :flag => '-a', :name => :all
  long_option :flag => '--author'
  long_option :flag => '--group-directories-first', :name => :group_dirs_first
  long_option :flag => '--hide', :multiple => true

  non_option :tailing => true, :multiple => true, :name => :files

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rprogram-0.3.2 spec/classes/ls_task.rb
rprogram-0.3.1 spec/classes/ls_task.rb
rprogram-0.3.0 spec/classes/ls_task.rb
rprogram-0.2.3 spec/classes/ls_task.rb
rprogram-0.2.2 spec/classes/ls_task.rb
rprogram-0.2.1 spec/classes/ls_task.rb
rprogram-0.2.0 spec/classes/ls_task.rb
rprogram-0.1.8 spec/classes/ls_task.rb
rprogram-0.1.7 spec/classes/ls_task.rb
rprogram-0.1.6 spec/classes/ls_task.rb