support custom grouped command.