Sha256: 477ed6603ee842b6dd05832b5534c232bc5374aa3f3b5da834707a62d875a549

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

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

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

  module Owners
    class Add < Cl::Cmd
      register :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.
      str

      examples <<~str
        Adding a single user to the group admins:

          owners add user --to admins

        Adding a several users at once:

          owners add one two three --to admins
      str
    end
  end
  rb
-%>

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

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

  Summary:

    Add one or more owners to an existing owner group

  Description:

    Use this command to add one or more owners to an existing
    owner group.

  Options:

    --help      Get help on this command

  Examples:

    Adding a single user to the group admins:

      owners add user --to admins

    Adding a several users at once:

      owners add one two three --to admins
  str
%>

Version data entries

3 entries across 3 versions & 2 rubygems

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