usefulfiles/shell_dotfiles/_functions

7 lines
329 B
Plaintext
Raw Normal View History

2021-11-19 16:12:27 +00:00
function appBoilerplate(){
git clone -b boilerplates --depth=1 git@gitlab.dev.fsbtech.com:frontend/whitelabel-utils.git boilerplates \
&& cp -r boilerplates/core_app/ ./$1_app || rm -rf boilerplates \
&& rm -rf boilerplates \
&& for i in $1_app/*genericAppName* ; do mv "$i" "${i/genericAppName/$1}" ; done \
}