Ability to use source template path in tasks section
See original GitHub issueSorry for opening so many feature requests, but it’s so you have them on your radar. 😅
The tasks section allows you to write scripts in a YAML file. That can be useful for short scripts, but if you need something serious, it becomes uncomfortable.
If there were some var such as [[ source_dir ]]
then I could use tasks such as:
# copier.yml
_exclude:
- post-clone*
_tasks:
- pip install "[[ source_dir ]]/post-clone-dependencies.txt"
- "[[ source_dir ]]/post-clone.py"
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
16. Job Templates — Ansible Tower User Guide v3.8.6
Use allows use of a resource in a job template (applies all resources except job templates)
Read more >Tasks in Visual Studio Code
Integrate with External Tools via Tasks. Lots of tools exist to automate tasks like linting, building, packaging, testing, or deploying software systems.
Read more >`.gitlab-ci.yml` keyword reference - GitLab Docs
Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner.
Read more >ARM template - Azure Resource Manager - Microsoft Learn
Describes the benefits using Azure Resource Manager templates (ARM templates) for deployment of resources.
Read more >Gantt Chart 101: A Complete Guide [2023] • Asana
You can use these charts to determine which tasks you need to complete for the entire project to be successful and finish on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No aplogizes. As I have said I am thankful for every feedback. So keep your issues flowing…
Maybe, although if what you need is to execute something from the template, be aware that the
_src_path
there points to the original source (eg. the git url), not to the local temporary copy. You’d probably need the temporary copy path if you want to execute a script from there.