Test global sys.argv in test_cli
Add function comments to cli
Add comments to config