Make bin/greeb much OPTIONIZED
Add tests for the new CLI features