lanrat / czds

simple golang API and tools to interact with czds.icann.org
https://pkg.go.dev/github.com/lanrat/czds
GNU General Public License v3.0
72 stars 14 forks source link

add '-exclude' list to exclude specific zones #18

Closed jschauma closed 1 year ago

jschauma commented 1 year ago

When running 'redownload', a user may wish to exclude some zones. To do this, you can now specify the '-exclude' option. This option takes as arguments a list of comma-separated zone names to avoid downloading.

'-exclude' cannot be specified together with '-zone'

Example:

czds-dl [...] -exclude com,net,biz

lanrat commented 1 year ago

Thanks for this feature!

Can you update README.md with the new flag information?

Using the output of the command help is enough.

jschauma commented 1 year ago

Done.