Sha256: 8438a875fe1d1cc3af9f8eb58ed7f6e083d221f347a45e7bae50a048abb97a87

Contents?: true

Size: 587 Bytes

Versions: 3

Compression:

Stored size: 587 Bytes

Contents

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

# Example from the README

require 'cl'

module Owners
  class Add < Cl::Cmd

    register 'owners:add'

    summary 'Add one or more owners to an existing owner group'

    description <<~str
      Use this command to add one or more owners to an existing
      owner group.

      These will be visible in [...]
    str

    args :owners #, 'Comma separated list of owner login names who are to be added to the owner group'

    opt '-t', '--to TO', 'An existing owner group', required: true
  end
end

Cl.new($0).run(%w(add --help))

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cl-0.1.6 examples/owners
cl-0.1.5 examples/owners
cl-0.1.4 examples/owners