Sha256: 3060b7d011fe0760f300eb62c684175e03f6d88a668e5c78cde69aa482aa9be6

Contents?: true

Size: 441 Bytes

Versions: 3

Compression:

Stored size: 441 Bytes

Contents

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

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

    class Add < Cl::Cmd
      register :add

      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

3 entries across 3 versions & 2 rubygems

Version Path
travis-cl-1.2.4 examples/_src/readme/note.erb.rb
cl-1.2.4 examples/_src/readme/note.erb.rb
cl-1.2.3 examples/_src/readme/note.erb.rb