Build fix for RHEL
CLI: Add agent command functionality (WIP)

refs #7248