<commit_before># pagitter
An advanced file generator
<commit_msg>put wiki into readme<commit_after># Pagitter

The lightweight file generator designed to facilitate application development.

### Examples

*home/yourProject/pagitter.js*
````
/*_ example.js _*/
()=>{
console.log('hello')
}
````
````
$ pgt
````
--->
*home/yourProject/example.js*
````
()=>{
console.log('hello')
}
````
````
$ pgt --watch
````
*home/yourProject/pagitter.js*
````
/*_ example.js _*/
()=>{
console.log('After running pgt with a watch option, 
anytime the pagitter file is saved, the files will be regenerated')
}
````
--->
*home/yourProject/example.js*
````
()=>{
console.log('After running pgt with a watch option, 
anytime the pagitter file is saved, the files will be regenerated')
}
````
*home/yourProject/pagitter.js*
````
/*_ <!callWhat=variable!> example.js _*/
()=>{
console.log('Call <!callWhat!>s declared in the code section')
}
/*_ example2.js _*/
()=>{
console.log('Once a <!callWhat!> is declared, 
all codes downstream in the pagitter file will have access to it, 
unless it is overwritten')
}
/*_ @callWhat@/example.js _*/
()=>{
console.log('Variables can also be called in the 
code section by wrapping them in @ symbols')
}
/*_ <!3=^^1 + 1 + 1!> example@3@.js _*/
()=>{
console.log('variables will be evaluated if they start with ^^')
}
````
{'fraction_non_alphanumeric': 0.19357249626307924, 'fraction_numerical': 0.004484304932735426, 'mean_word_length': 4.649789029535865, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, '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': '156953', 'n_tokens_mistral': 475, 'n_tokens_neox': 448, 'n_words': 127}