Files
root-at-skicandClaude Opus 5 97991021ff template-engine-copier skill: initial import
Copier + Jinja template-repository design skill: reference architecture,
implementation workflow, validation checklist, and a full worked example
template (questionnaire, extensions, resolvers, wrapper-first .scripts).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-12 22:30:29 +03:00

42 lines
929 B
Bash

#!/bin/bash
export HL_V1_COPIER_TARGET_DIR=""
export HL_V1_COPIER_FORCE_COPY=false
export HL_V1_COPIER_PARAMS_FILE=""
export HL_V1_COPIER_FILE_COPIER_ANSWERS="copier-answers.yml"
export HL_V1_COPIER_FILE_COPIER_ANSWERS_NEW="copier-answers-new.yml"
ALL_ARGS=("$@")
while [ "$#" -gt 0 ]; do
case "$1" in
--copier-target-dir=*)
export HL_V1_COPIER_TARGET_DIR="${1#*=}"
shift
;;
--copier-target-dir)
export HL_V1_COPIER_TARGET_DIR="$2"
shift 2
;;
--copier-force-copy=*)
export HL_V1_COPIER_FORCE_COPY="${1#*=}"
shift
;;
--copier-force-copy)
export HL_V1_COPIER_FORCE_COPY="$2"
shift 2
;;
--copier-params-file=*)
export HL_V1_COPIER_PARAMS_FILE="${1#*=}"
shift
;;
--copier-params-file)
export HL_V1_COPIER_PARAMS_FILE="$2"
shift 2
;;
*)
shift
;;
esac
done
set -- "${ALL_ARGS[@]}"