Sha256: 6fdcc42dd51e4d70be624080c27212a08982c0b8c8b49128f0adf621b9c31f5f

Contents?: true

Size: 312 Bytes

Versions: 3

Compression:

Stored size: 312 Bytes

Contents

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

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

    class Add < Cl::Cmd
      register :add

      opt '--to GROUP', downcase: true

      def run
        p to: to
      end
    end
  rb
-%>

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

<%= out '{:to=>"one"}' %>

Version data entries

3 entries across 3 versions & 2 rubygems

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