A simple script to create or update cspell.json based on current invalid words.
for python3:
npx cspell **/*.py | python create_cspell_json.py
for python2:
npx cspell **/*.py | python create_cspell_json_python2.py
A simple script to create cspell.json based on current invalid words.
Python