ExPcap.CLI (expcap v0.1.2) View Source

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.

Link to this section Summary

Functions

The entry point, a.k.a. the main function.

Parses the arguments which may be either: --help, -h :help --file, -f <name> [file: name]

Prints the contents of the PCAP file in a somewhat human readable form.

Parses the arguments and then either prints the contents of the PCAP file or prints the help message.

Link to this section Functions

Specs

main(list()) :: nil

The entry point, a.k.a. the main function.

Parses the arguments which may be either: --help, -h :help --file, -f <name> [file: name]

Specs

process(:help) :: String.t()
process([:file | String.t()]) :: String.t()

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.