ytdl-sub/src/ytdl_sub/cli
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
..
parsers [FEATURE] inspect subcommand (#1407) 2026-04-13 10:10:58 -07:00
__init__.py setup cfg 2022-04-26 07:19:53 +00:00
entrypoint.py [FEATURE] inspect subcommand (#1407) 2026-04-13 10:10:58 -07:00
output_summary.py [FEATURE] Add ability to suppress colors via CLI arg (#1215) 2025-05-03 19:56:46 -07:00
output_transaction_log.py [DEV] Linter: Use ruff over black and isort (#1445) 2026-03-09 11:39:01 -07:00