CLI-related helpers
load_element_from_target
Import module and resolve attr to an :class:~streamtree.core.element.Element.
spec must be dotted.module.path:attribute where attribute is either an
:class:~streamtree.core.element.Element instance or a zero-argument callable returning one.