Sha256: 072ca0c7fc190ae190bec45609fa815338a10bc5266a4d900e21fa22dd627a1e
Contents?: true
Size: 794 Bytes
Versions: 4
Compression:
Stored size: 794 Bytes
Contents
#!/bin/env ruby require "Getopt/Declare" args = Getopt::Declare.new(<<'EOPARAM', ['-BUILD']) ============================================================ Required parameter: -in <infile> Input file [required] ------------------------------------------------------------ Optional parameters: (The first two are mutually exclusive) [mutex: -r -p] -r[and[om]] Output in random order -p[erm[ute]] Output all permutations --------------------------------------------------- -out <outfile> Optional output file ------------------------------------------------------------ Note: this program is known to run very slowly of files with long individual lines. ============================================================ EOPARAM puts args.code()
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
getopt-declare-1.13 | samples/cmdline_code.rb |
getopt-declare-1.12 | samples/cmdline_code.rb |
getopt-declare-1.21 | samples/cmdline_code.rb |
getopt-declare-1.20 | samples/cmdline_code.rb |