Sha256: c6bea9bf2caba985b9e4daa38c9e8e066c9b601da2eef562b848591f2a150b73
Contents?: true
Size: 367 Bytes
Versions: 15
Compression:
Stored size: 367 Bytes
Contents
#!/usr/bin/env ruby $: << File.expand_path('lib') <%= run sq(<<-'rb') class Add < Cl::Cmd opt '--pass PASS', secret: true def run p( secret?: self.class.opts[:pass].secret?, tainted?: pass.tainted? ) end end rb -%> <%= run "Cl.new('owners').run(%w(add --pass pass))" %> <%= out '{:secret?=>true, :tainted?=>true}' %>
Version data entries
15 entries across 15 versions & 1 rubygems