<commit_before>#ScriptCat

One script plugin framework for better work.

# Usage

## BootStrap

~~~bash
git clone https://github.com/renweibo/ScriptCat.git mywork
cd mywork
ln -s ScriptCat.sh superman.sh
./superman.sh usage
./superman.sh check
~~~

## Add simple plugin

~~~bash
export Plugin_Name=sample
cp bin/bin_dummy.sh bin/${Plugin_Name}.sh
sed -i s/bin_dummy/${Plugin_Name}/g bin/${Plugin_Name}.sh
sed -i s/Dummy/${Plugin_Name}/g bin/${Plugin_Name}.sh
sed -i s/dummy/${Plugin_Name}/g bin/${Plugin_Name}.sh
./superman.sh ${Plugin_Name} 
./superman.sh ${Plugin_Name} none
./superman.sh ${Plugin_Name} ${Plugin_Name}
~~~


# Add plugin suite
~~~
export Plugin_Name=sample
cp -r bin/plugin_dummy bin/${Plugin_Name}
find bin/${Plugin_Name} -type f -exec sed -i s/plugin_dummy/${Plugin_Name}/g {} \;
find bin/${Plugin_Name} -type f -exec sed -i s/Dummy/${Plugin_Name}/g {} \;
find bin/${Plugin_Name} -type f -exec sed -i s/dummy/${Plugin_Name}/g {} \;
./superman.sh ${Plugin_Name} 
./superman.sh ${Plugin_Name} none
./superman.sh ${Plugin_Name} ${Plugin_Name}
~~~<commit_msg>update document<commit_after>#ScriptCat

One script plugin framework for better work.

# Usage

## BootStrap

~~~bash
git clone https://github.com/renweibo/ScriptCat.git mywork
cd mywork
ln -s ScriptCat.sh superman.sh
./superman.sh usage
./superman.sh check
~~~

## Add simple plugin

~~~bash
./superman.sh scaffold script sample_script
~~~


# Add plugin suite
~~~bash
./superman.sh scaffold plugin plugin_script
~~~
{'fraction_non_alphanumeric': 0.1607501674480911, 'fraction_numerical': 0.0, 'mean_word_length': 4.335714285714285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6085098', 'n_tokens_mistral': 542, 'n_tokens_neox': 526, 'n_words': 137}