ExPcap.CLI
Prints the contents of a PCAP file to stdout.
The file may be specified with the —file or -f flag.
If no flags are passed (or —help or -h) then the help is printed.
Summary↑
main(argv) | The entry point, a.k.a. the main function |
parse_args(argv) | Parses the arguments which may be either:
—help, -h :help
—file, -f |
process(arg1) | Prints the contents of the PCAP file in a somewhat human readable form |
run(argv) | Parses the arguments and then either prints the contents of the PCAP file or prints the help message |
Functions
Specs:
- main(list) :: nil
The entry point, a.k.a. the main function.
Specs:
- parse_args(list) :: atom | [atom(String.t)]
Parses the arguments which may be either:
—help, -h :help
—file, -f
Specs:
Prints the contents of the PCAP file in a somewhat human readable form.
Specs:
- run(list) :: nil
Parses the arguments and then either prints the contents of the PCAP file or prints the help message.