Skip to content

Proper validation layer #363

@mattias-p

Description

@mattias-p

Zonemaster CLI accepts user inputs through command line arguments.
Today the validation logic for these values is spread out.
It's non-trivial to review and verify that all these inputs are in fact
validated before they're used and that the implemented validation rules match
the documented ones.

Zonemaster CLI should have a clearly delimited validation layer where all
command line arguments must pass through and where all validation logic is
invoked.

Having this validation layer located close to the argument parsing would also
make it easier to maintain cohesive command line argument validation error
messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions