I realize we `require` stuff from cmd elsewhere, but I feel like I'd like to break some of this out in a more general way.