cruft
cruft copied to clipboard
Issue 246- Allow template from local repo
Added a new option --template_path to cruft update
From issue description: "Introduce an argument to update (and link?) --template_path to use a template that has already been checked out locally. This will help to use cruft inside secure github workflows when you do not want to pass private tokens or username and passwords."
Codecov Report
Patch coverage: 96.61
% and project coverage change: -0.19
:warning:
Comparison is base (
56eedcb
) 99.69% compared to head (fc1935f
) 99.50%.
:exclamation: Current head fc1935f differs from pull request most recent head efa07d1. Consider uploading reports for the commit efa07d1 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## master #247 +/- ##
==========================================
- Coverage 99.69% 99.50% -0.19%
==========================================
Files 21 21
Lines 979 1008 +29
==========================================
+ Hits 976 1003 +27
- Misses 3 5 +2
Impacted Files | Coverage Δ | |
---|---|---|
cruft/_cli.py | 100.00% <ø> (ø) |
|
cruft/_commands/utils/cookiecutter.py | 96.07% <84.61%> (-3.93%) |
:arrow_down: |
cruft/_commands/create.py | 100.00% <100.00%> (ø) |
|
cruft/_commands/update.py | 98.41% <100.00%> (+0.05%) |
:arrow_up: |
tests/test_api.py | 100.00% <100.00%> (ø) |
|
tests/test_cli.py | 100.00% <100.00%> (ø) |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
I would love this PR working
@seleniusmoell did you have a working version on this?
@guilhermecgs Sorry, I had to put this on hold before I got a finished version