Revision history for Getopt::Pad
0.03 2026-09-24
- Add hash options: with hash => 1 an option takes --name key=value
pairs and its reader returns a hashref. Every value passes the
usual checks. Help shows the key=value syntax and completion
fills in the value behind the typed key
- Absent multiple options and slurpy args now read as an empty
arrayref, an absent hash option as an empty hashref
- Add csv => 1 for multiple options: every given value is split
at commas, the items are trimmed and an empty item is rejected
- Add typehint to option and arg specs: the tag rendered after
the help text in place of the type's own label
- Add objectlist options: with objectlist => 1 an option takes
--name INDEX.FIELD=VALUE words and its reader returns a list of
hashrefs. The indices must form 0..n-1
- Add createPathIfMissing to the file and dir types: the path is
created, parents included, once the parse settles on it
- --create-default-config writes LF line endings on every platform
and refuses a symlink target on Windows as well, where O_EXCL
follows a dangling link
- Tests pass on Windows
0.02 2026-09-23
- Fix the release target packing build artefacts (blib/) into the
tarball, which stopped PAUSE from indexing 0.01
- Declare all modules in the META "provides" map
- Add the missing $VERSION to Getopt::Pad::Type::Url
0.01 2026-09-23
- Initial development release: typed options, positional args,
nested subcommands, config files, generated help
- Shell completion for bash and zsh via --create-completions;
a valid coderef now returns the allowed list, lazyValid holds
the predicate form
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
Go to GitHub issues (only if GitHub is preferred repository)