Skip to content

Input validation of CLI arguments #45

@johannesmoos

Description

@johannesmoos

Input validation of CLI arguments would be a valuable feature to immediately notice that a given CLI command is not valid (instead of waiting for the parser to do its thing and then wondering why there are no results :)

Currently all of the following get accepted:

pbgpp.py --pcap test.pcap --filter-message-type=TEST
pbgpp.py --pcap test.pcap --filter-message-subtype=TEST
pbgpp.py --pcap test.pcap --filter-next-hop=TEST
pbgpp.py --pcap test.pcap --filter-source-ip=TEST

I didn't test all of the arguments, but I guess it's not implemented at all currently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions