- Download fresh City List from here.
- Place it to script folder.
- Run script in CLI! Ex.:
php Generator.php <arg>
- full - For full city list generation. Warning! Big JSON file! < 6Mb Ex.:
php Generator.php full
- bycc - Divide list by Country Code in byCC folder. Ex.:
php Generator.php bycc
- - Generate only One country. Ex.:
php Generator.php RU