Sha256: 135d5d2ebe36283d1ab088c0bc38601ef8f4834c6cbdb2ae8a493cf089612f50
Contents?: true
Size: 434 Bytes
Versions: 15
Compression:
Stored size: 434 Bytes
Contents
#!/usr/bin/env ruby $: << File.expand_path('lib') <%= run sq(<<-'rb') require 'cl' class Add < Cl::Cmd opt '--to GROUP', alias: :group def run # p opts: opts, to: to, to?: to?, group: group, group?: group? p opts: opts, to: to, to?: to? end end rb -%> <%= run "Cl.new('owners').run(%w(add --group one))" %> <%= out '{:opts=>{:to=>"one", :group=>"one"}, :to=>"one", :to?=>true}' %>
Version data entries
15 entries across 15 versions & 1 rubygems