port OpenBSD ifconfig to FreeBSD

From: Zak <zacts.3.14159_at_gmail.com>
Date: Wed, 15 Sep 2021 04:04:24 UTC
hi,

how involved would it be to port the OpenBSD ifconfig command and
functionality to FreeBSD? my use case for this would be to add support
to FreeBSD ifconfig that would allow me to interactively connect to
WPA networks, including secrets and keys,, via the command line
without resorting to externally packaged wpa network tools or editing
a file like wpa_supplicant.conf.

see: https://man.openbsd.org/ifconfig.8