Add CLI command to list groups