A pre-flight mixin for checks common to cli tools