{
  "description": "Watch network connections per process in the TUI, or run headless and dump snapshots. Theme, GeoIP database paths, sandbox and logging switches are mostly left out.",
  "options": [
    {
      "names": [
        "--interface",
        "-i"
      ],
      "description": "Interface",
      "args": {
        "name": "interface",
        "isOptional": false
      }
    },
    {
      "names": [
        "--show-localhost"
      ],
      "description": "Show localhost connections"
    },
    {
      "names": [
        "--bpf-filter",
        "-f"
      ],
      "description": "Packet-capture filter expression, for example tcp port 443.",
      "args": {
        "name": "bpf_filter",
        "description": "Packet-capture filter expression, for example tcp port 443.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--refresh-interval",
        "-r"
      ],
      "description": "Refresh interval (ms)",
      "args": {
        "name": "refresh_interval",
        "isOptional": false
      }
    },
    {
      "names": [
        "--no-dpi"
      ],
      "description": "Disable deep packet inspection"
    },
    {
      "names": [
        "--no-resolve-dns"
      ],
      "description": "Disable reverse DNS"
    },
    {
      "names": [
        "--headless"
      ],
      "description": "Run without the terminal UI and print snapshots."
    },
    {
      "names": [
        "--duration"
      ],
      "description": "Stop headless monitoring after this many seconds.",
      "args": {
        "name": "duration",
        "description": "Stop headless monitoring after this many seconds.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--output"
      ],
      "description": "Headless output format",
      "args": {
        "name": "output",
        "isOptional": false,
        "suggestions": [
          {
            "name": "jsonl",
            "description": "JSON Lines (stream)"
          },
          {
            "name": "json",
            "description": "JSON (final snapshot)"
          }
        ]
      }
    },
    {
      "names": [
        "--filter"
      ],
      "description": "Headless filter",
      "args": {
        "name": "filter",
        "isOptional": false
      }
    },
    {
      "names": [
        "--pcap-export"
      ],
      "description": "PCAP export file",
      "args": {
        "name": "pcap_export",
        "isOptional": false,
        "template": "filepaths"
      },
      "isDangerous": true
    }
  ],
  "name": "rustnet"
}
