initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
replace_repo_name_kebab() {
|
||||
local replacement="$1"
|
||||
if [[ -z "$replacement" ]]; then
|
||||
echo "Usage: replace_repo_name_kebab <replacement>"
|
||||
return 1
|
||||
fi
|
||||
find . -type f ! -path './.git/*' -exec perl -pi -e 's/\$\{REPO_NAME_KEBAB}/$ARGV[0]/g' "$replacement" {} +
|
||||
}
|
||||
Reference in New Issue
Block a user