You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dlt init <source> <destination> clones this repo, it uses the version of the dlt as a git tag to clone
if the <source> is one of the variants ie. chess then the variant (ie. chess.py) is used as pipeline template, if not the pipeline.py will be used (after renaming to the )
if --generic options is passed the pipeline_generic.py template is used
it modifies the script by importing the right destination and using it in the pipeline
it will rename all dlt.source and dlt.resource function defs and calls.
it copies the .gitignore, the pipeline script created above and other files in TEMPLATE_FILES variable
it will create the secrets.toml and config.toml for the sources and destination in the script
it will add the right dlt extra to requirements.txt
How to update template safely
Create a branch with your modifications
Push it to github
Use dlt init with --branch option to test your branch
Only propose PRs to master if you are happy with the result
TODO: automated test that will initialize all the variants and generic templates in the branch