This allows to remove any unwanted lists without modifying the domains
data, and you can generate multiple custom v2ray dat files in a single
command.
As long as the source data is consistent, any list remains in the trimed
dat contains the same rules comparing to the list in full dat.
Use the new option `datprofile` to specify the config json file path.
`outputname` will be ignored when `datprofile` is set.
Co-authored-by: database64128 <free122448@hotmail.com>
* Feat: add a new datdump tool
* Refactor: address code review comments
* Refactor: remove export all from main program
use datdump instead
* Refactor: allow spaces in exportlists
e.g. `--exportlists="lista, listb"`
* all: cleanup
* apply review suggestion
---------
Co-authored-by: database64128 <free122448@hotmail.com>
* Refactor: improve deduplicate
* Feat: support to export all lists to a plain yml
use: `--exportlists=_all_`
* Docs: add links for dlc plain yml
[skip ci]