The click context object has a method .to_info_dict() that's useful to go through the whole CLI structure, for example to write documentation.
It would be good to have an equivalent with cloup, so that all the other info cloup adds (eg. Aliases and help) can be exposed in the same way