[MINOR] Remove unused getGroupsCommand method
6 files changed