Sha256: 63fea63361666cb41aae494b4c6dd8a48afae4f7126840b7c7917bdd8886b65f
Contents?: true
Size: 314 Bytes
Versions: 15
Compression:
Stored size: 314 Bytes
Contents
#!/usr/bin/env ruby $: << File.expand_path('lib') <%= run sq(<<-'rb') require 'cl' class Add < Cl::Cmd arg :owners, type: :array, sep: ',' def run p owners: owners end end rb -%> <%= run "Cl.new('owners').run(%w(add one,two))" %> <%= out '{:owners=>["one", "two"]}' %>
Version data entries
15 entries across 15 versions & 1 rubygems