Sha256: 463825e3de4faad91e152f60bb4cff51abf7f95b73ae0de61c8e5402069e3be4

Contents?: true

Size: 420 Bytes

Versions: 15

Compression:

Stored size: 420 Bytes

Contents

#!/usr/bin/env ruby
$: << File.expand_path('lib')

<%= run sq(<<-'rb')
    require 'cl'

    class Add < Cl::Cmd
      opt '--to GROUP', note: 'needs to be a group'
    end
  rb
-%>

<%= run "Cl.new('owners').run(%w(add --help))" %>

<%= out sq(<<-'str')
    Usage: owners add [options]

    Options:

      --to GROUP      type: string, note: needs to be a group
      --help          Get help on this command
  str
%>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cl-1.2.2 examples/_src/readme/note.erb.rb
cl-1.2.1 examples/_src/readme/note.erb.rb
cl-1.2.0 examples/_src/readme/note.erb.rb
cl-1.1.5 examples/_src/readme/note.erb.rb
cl-1.1.4 examples/_src/readme/note.erb.rb
cl-1.1.3 examples/_src/readme/note.erb.rb
cl-1.1.2 examples/_src/readme/note.erb.rb
cl-1.1.1 examples/_src/readme/note.erb.rb
cl-1.1.0 examples/_src/readme/note.erb.rb
cl-1.0.5 examples/_src/readme/note.erb.rb
cl-1.0.4 examples/_src/readme/note.erb.rb
cl-1.0.3 examples/_src/readme/note.erb.rb
cl-1.0.2 examples/_src/readme/note.erb.rb
cl-1.0.1 examples/_src/readme/note.erb.rb
cl-1.0.0 examples/src/readme/node.erb.rb