moved command infer global namespace.