<commit_before><commit_msg>Created script to generate velocity templates from this reference project ! Templates now get generated in snap !<commit_after>export OUTPUT_DIR=./outputallfiles;
export REPLACE_PATTERN='s/seleroo/${app.name}/g;s/SenchaCrud/${app.name}/g;s/Employee/${entity.name}/g;s/employee/${entity.lowerCase}/g'

mkdir -p $OUTPUT_DIR/app
mkdir -p $OUTPUT_DIR/app/model
mkdir -p $OUTPUT_DIR/app/view
mkdir -p $OUTPUT_DIR/app/controller
mkdir -p $OUTPUT_DIR/app/store
mkdir -p $OUTPUT_DIR/app/form
mkdir -p $OUTPUT_DIR/resources/css

for file in $(find app -name '*.js') app.js
do
        newfile=`echo $file | sed 's/Employee/Entity/g'`        
        echo $newfile
        sed $REPLACE_PATTERN $file >  $OUTPUT_DIR/$newfile
done

{'fraction_non_alphanumeric': 0.13288590604026845, 'fraction_numerical': 0.0, 'mean_word_length': 4.144827586206897, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5730523', 'n_tokens_mistral': 267, 'n_tokens_neox': 256, 'n_words': 61}