#!/usr/bin/env sh
# SPDX-License-Identifier: MIT
# ──────────────────────────────────────────────────────────────────────────────
# $source: cappysan-dotfile-scripts$
# ──────────────────────────────────────────────────────────────────────────────
#
# NAME
#      no-color - ansi to plain text converter
#
# SEE ALSO
#      ansi2txt(1)
#
if ! type -pP ansi2txt >/dev/null 2>&1; then
  echo 'error: apt package "colorized-logs" not installed' >&2
  exit 1
fi
exec ansi2txt "$@"
