Sha256: e2d710ea217b6b72addb13a440fc6c43cb5e0a7ddd188a5d9d8b0c22f4ab8a71
Contents?: true
Size: 363 Bytes
Versions: 15
Compression:
Stored size: 363 Bytes
Contents
#!/usr/bin/env ruby $: << File.expand_path('lib') 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 Cl.new('owners').run(%w(add --group one)) # Output: # # {:opts=>{:to=>"one", :group=>"one"}, :to=>"one", :to?=>true}
Version data entries
15 entries across 15 versions & 1 rubygems