Sha256: 37082c55c6e9c375c68d1f7366b89bcc30afe28d8de58939cfef1714658f100a

Contents?: true

Size: 424 Bytes

Versions: 3

Compression:

Stored size: 424 Bytes

Contents

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

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

    class Add < Cl::Cmd
      register :add

      opt '--to GROUP', example: 'group-one'
    end
  rb
-%>

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

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

    Options:

      --to GROUP      type: string, e.g.: group-one
      --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/example.erb.rb
cl-1.2.4 examples/_src/readme/example.erb.rb
cl-1.2.3 examples/_src/readme/example.erb.rb