#!/bin/bash
if [ -t 0 ] && [ $# -gt 0 ]; then
  printf '\033[1m%s\033[0m\n' "$*"
else
  printf '\033[1m'
  cat
  printf '\033[0m'
fi
