Sha256: 45a759c000b62dbb7925f1f4b5c0c52411528fe229f6c8ff8b2a681b11dfde78
Contents?: true
Size: 606 Bytes
Versions: 15
Compression:
Stored size: 606 Bytes
Contents
#!/usr/bin/env ruby $: << File.expand_path('lib') <%= run sq(<<-'rb') require 'cl' class Add < Cl::Cmd opt '--to GROUP', 'Target group to add owners to' def run p opts: opts, to: to, to?: to? end end rb -%> <%= run "Cl.new('owners').run(%w(add --to one))" %> <%= out '{:opts=>{:to=>"one"}, :to=>"one", :to?=>true}' %> <%= run "Cl.new('owners').run(%w(add --help))" %> <%= out sq(<<-'str') Usage: owners add [options] Options: --to GROUP Target group to add owners to (type: string) --help Get help on this command str %>
Version data entries
15 entries across 15 versions & 1 rubygems