yeah i agree, i dont like mixing cmd line args with functions, but i figured this is a cli so the whole point is cmd line i guess. I was trying to avoid having a bunch of conditional blocks in `main`.