Minor update

This commit is contained in:
Dionysus 2025-03-12 21:50:07 -04:00
parent d116ae2d8a
commit 61639141a0
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
4 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ logs/*
.log. .log.
*.egg-info *.egg-info
dist/ dist/
*.egg-info

View File

@ -28,19 +28,24 @@ czds [-h] [-u USERNAME] [-p PASSWORD] [-z] [-c CONCURRENCY] [-d] [-k] [-r] [-s]
``` ```
#### Arguments #### Arguments
###### Basic Options
| Argument | Description | Default | | Argument | Description | Default |
|-----------------------|----------------------------------------------|-------------------| |-----------------------|----------------------------------------------|-------------------|
| `-h`, `--help` | Show help message and exit | | | `-h`, `--help` | Show help message and exit | |
| `-u`, `--username` | ICANN Username | `$CZDS_USER` | | `-u`, `--username` | ICANN Username | `$CZDS_USER` |
| `-p`, `--password` | ICANN Password | `$CZDS_PASS` | | `-p`, `--password` | ICANN Password | `$CZDS_PASS` |
| `-o`, `--output` | Output directory | Current directory |
###### Zone Options
| `-z`, `--zones` | Download zone files | | | `-z`, `--zones` | Download zone files | |
| `-c`, `--concurrency` | Number of concurrent downloads | `3` | | `-c`, `--concurrency` | Number of concurrent downloads | `3` |
| `-d`, `--decompress` | Decompress zone files after download | | | `-d`, `--decompress` | Decompress zone files after download | |
| `-k`, `--keep` | Keep original gzip files after decompression | | | `-k`, `--keep` | Keep original gzip files after decompression | |
###### Report Options
| `-r`, `--report` | Download the zone stats report | | | `-r`, `--report` | Download the zone stats report | |
| `-s`, `--scrub` | Scrub username from the report | | | `-s`, `--scrub` | Scrub username from the report | |
| `-f`, `--format` | Report output format (csv/json) | `csv` | | `-f`, `--format` | Report output format (csv/json) | `csv` |
| `-o`, `--output` | Output directory | Current directory |
### Environment Variables ### Environment Variables
```bash ```bash

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.2 Metadata-Version: 2.2
Name: czds-api Name: czds-api
Version: 1.2.0 Version: 1.2.1
Summary: ICANN API for the Centralized Zones Data Service Summary: ICANN API for the Centralized Zones Data Service
Home-page: https://github.com/acidvegas/czds Home-page: https://github.com/acidvegas/czds
Author: acidvegas Author: acidvegas

View File

@ -1,2 +1,2 @@
[console_scripts] [console_scripts]
czds = czds.__main__:main czds = czds.__main__:cli_entry