#!/bin/bash # # Code of Conduct templater module. # # Parameters SHARE="$1" # Include basic functions source $SHARE/templater/functions || exit 1 # Contributor Covenant: A Code of Conduct for Open Source Projects function templater_conduct { if [ ! -e "CODE_OF_CONDUCT.md" ]; then templater_echo "Setting up Code of Conduct..." cp $SHARE/conduct/files/CODE_OF_CONDUCT.md . else templater_echo "Code of Conduct already set" fi } # Dispatch templater_conduct