This commit no longer exists in the repository. It may have been part of a branch which was deleted.
Description
Refactor: tools: Split building the resource list into its own function.
This is another block of code that's fairly standalone and can therefore
be broken out into its own thing, making cli_resource_update_attribute a
little simpler.