remove commented out code. add spec for cli