ytdl-sub/src/ytdl_sub/validators
Jesse Bannon 970c74ba45
[FEATURE] inspect subcommand (#1407)
Subscription file syntax is designed to minimize boiler-plate when authoring new subscriptions.
You can now unpack any subscription using the ``inspect`` sub-command to see its boiler-plate *preset format*.

```
ytdl-sub inspect --config /path/to/config.yaml --match "BBC News" /path/to/subscriptions.yaml
```

This can be utilized for numerous purposes including:

* Ensuring your custom preset is getting applied correctly.
* Figuring out which variables set things like file names, metadata, etc.
* Understanding how subscription syntax translates to preset representation.

The default ``--level`` of inspect will fill in defined variables. Using ``--level original`` will present the subscription's raw layout with no fill.
2026-04-13 10:10:58 -07:00
..
__init__.py setup cfg 2022-04-26 07:19:53 +00:00
audo_codec_validator.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
file_path_validators.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
nfo_validators.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
regex_validator.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
source_variable_validator.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
strict_dict_validator.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
string_datetime.py [DOCS] faq: Clarify re-download date TZ margins (#1298) 2025-08-24 09:22:57 -07:00
string_formatter_validators.py [FEATURE] inspect subcommand (#1407) 2026-04-13 10:10:58 -07:00
string_select_validator.py [FEATURE] release_date support for date_range (#1231) 2025-06-01 09:28:42 -07:00
validators.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00