Sha256: 7db1abfbf6a658c84bcddcb1f5583589fd1a41562490ae0bda3a1a61fd29f6ec
Contents?: true
Size: 342 Bytes
Versions: 10
Compression:
Stored size: 342 Bytes
Contents
#!/usr/bin/env ruby require "como" include Como # Define command line arguments: Spec.command( "como_simple", "Programmer", "2013", [ [ :single, "file", "-f", "File argument." ], [ :switch, "debug", "-d", "Enable debugging." ], ] ) puts " File option: #{Opt['file'].value}" puts " Debugging selected!" if Opt['debug'].given
Version data entries
10 entries across 10 versions & 1 rubygems