NAME

Getopt::Pad::Spec::Level - one spec level

DESCRIPTION

One level of a spec: its options plus either positional args or subcommands. Enforces name and alias uniqueness across all options of the level, reader uniqueness, arg ordering, and the args/commands exclusivity. options returns every option including the auto options; declaredOptions only those the spec declares.

Part of the Getopt::Pad distribution; see its documentation for the user-facing API.

AUTHOR

davenonymous <perl@davenonymous.com>

COPYRIGHT AND LICENSE

Copyright 2026 davenonymous

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.