[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.