imsky / wordlists

Words categorized by topic.
MIT License
299 stars 131 forks source link

Python 3 render script #37

Open origintopleft opened 1 year ago

origintopleft commented 1 year ago

As discussed in #2 .

$ ./render.py -h
usage: render.py [-h] [-o {json,rant}] [-q] outfile

Renders single-file versions of these wordlists.

positional arguments:
  outfile               output file

optional arguments:
  -h, --help            show this help message and exit
  -o {json,rant}, --output {json,rant}
                        what type of file to render, defaults to json
  -q, --quiet           suppress progress output

Tried my best to leave it heavily commented and easy to maintain, and even uses a decorator to make adding renderers for other filetypes a relative breeze.