Skip to content

mandatory option #7

Description

@peterritter

I wonder if it would make sense to be able to declare an option as 'mandatory' via a .mandatory() function. I can of course check availability of an option explicitly, but when there are many options, it gets tedious. A missing mandatory options should just throw an exceptions. That way the program can terminate immediately rather than wasting time with other things until it discovers that a critical option is missing.
P.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions