Changes for version 0.06 - 2014-07-27

  • Completion routine now gets extra information/arguments. In addition to 'word', it now also gets: type, opt, ospec, argpos, parent_args, seen_opts.
  • INCOMPATIBLE CHANGES
    • 'completion' argument is now a single coderef instead of hash of coderefs/arrays. This makes the code (and client code) simpler. But you now must supply a code instead of just an array.

Modules

Complete command-line argument using Getopt::Long specification