adds garbage collect command to cli app