ytdl-sub/src/ytdl_sub/config
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
..
plugin [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
validators [FEATURE] inspect subcommand (#1407) 2026-04-13 10:10:58 -07:00
__init__.py setup cfg 2022-04-26 07:19:53 +00:00
config_file.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
config_validator.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
defaults.py [DEV] Bump pylint from 3.3.8 to 4.0.1 (#1361) 2025-10-26 23:57:35 -07:00
overrides.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
preset.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00
preset_options.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00