Change CLI exit strategy when passed a non-valid resource