Here's how you get yum to list all the configured repos, without actually connecting to any of them (e.g. if your system is offline):
yum -C repolist all
The "-C" option tells yum to use the local cache, no matter how old the cache is.
This site is really just an easy way for me to keep notes on system administration, programming, and other topics. You'd have to be really bored to read it!