* Add uts for parseiptable.go
Co-authored-by: Hunter Gregory <hgregory@microsoft.com>
* test commit
* deleted file from test commit
* added a UT for convertiptable and moved shared UT functionality to a new file. also renamed some command constants to avoid confusion with real commands
* removing print statements from when I was debugging
* Add UTs for start.go
* Add simple UT for start.go
* make it clear that cache file and iptables save file need to be used together
* remove unnecessary wantEmptyOutput field in test struct
* Refactor cobra command and adjust unit tests
* UT for gettuples cmd
* comment out test without cache file and refactor args
* Delete unnecessary comments and commeted codes
* Remove lint errors
* Use correct files and expected values in UTs
Co-authored-by: Hunter Gregory <hgregory@microsoft.com>
Co-authored-by: Hunter Gregory <hunterlgregory@gmail.com>
* CLI functions
* fix whitespace bug in CIDRmatch + go lint issue
* update main.go from master
* addressed CR comments
* addressed Matt's comments
* make config flag to be a root cmd flag only
* make config flag to be a root cmd flag only