Sha256: 176b64926493b2327487342ae6986a293e36fbf7d271e864334a01f0d3d93644
Contents?: true
Size: 418 Bytes
Versions: 16
Compression:
Stored size: 418 Bytes
Contents
#!/usr/bin/env ruby $: << File.expand_path('lib') require 'cl' class Add < Cl::Cmd opt '--to GROUP', required: true def run p to end end Cl.new('owners').run(%w(add --to one)) # Output: # # "one" Cl.new('owners').run(%w(add)) # Missing required option: to # # Usage: required add [options] # # Options: # # --to GROUP type: string, required: true # --help Get help on this command
Version data entries
16 entries across 16 versions & 1 rubygems