Share AppName validation between CLIs

This should be `this.$errors.fatal`