#!/bin/sh
# Copyright (c) 2026 Shayne All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

# cmtr hook v1
# Generated by: cmtr --hook

if command -v uvx >/dev/null 2>&1; then
  uvx cmtr@latest prepare-commit-msg "$@"
else
  echo "cmtr: uvx not found; skipping commit message generation" >&2
fi
