refactor close command spec
refactor clean command spec output