Begin CLI Work

Uses the Parser module + it sets up a help & version.
This commit is contained in:
Sam Poder 2023-06-06 15:05:42 +00:00 committed by Cara Salter
parent 82c4d218d7
commit d65b9a4c68
4 changed files with 120 additions and 1 deletions

View file

@ -4,7 +4,7 @@ use socket2::{Domain, SockAddr, Socket, Type};
use std::fs::OpenOptions;
use std::io::{Error, Write};
use std::mem;
use std::net::{Ipv4Addr, Ipv6Addr, SocketAddrV4, SocketAddrV6};
use std::net::{Ipv4Addr, Ipv6Addr, SocketAddrV4};
use std::os::fd::RawFd;
use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd};