Comments (4)
Yes meta data (.ffizer.yaml) is stored at the root of template.
No the root of the git repo should not be the root of template, I have some repo that host several templates.
No it's not possible (yet) to say the to ffizer that the root of template is in a subfolder. IMHO, this subfolder is 1 click or cd
when user want to browse. TBH It's an open option to add, but I would like to not allow too much configuration and fragmentation in the format of template. So maybe later.
I also like the original idea that by default any git repo, regular project could be used as a template. in this case ffizer act like as git clone
or cp
. And then the user can tweak to add .ffizer.yaml to say ignore .git
folder, and after convert some file into template xxx.ffizer.hbs
, and tweak more....
from ffizer.
I like porteurbars' UI for this. By default porteurbars repo target
will use repo/template
as the content, but if you have multiple templates in a repo, you can use porteurbars -b other repo target
to use repo/other/template
.
What do I do if I want a README.md
file for the template repository and the template itself?
from ffizer.
Currently If you want to have a README.md in the template and in the project:
+- README.md.ffizer.hbs (or README.md.ffizer.raw)
+- README.md
+- .ffizer.yaml
And into .ffizer.yaml
ignores:
- README.md
I agree in some case allowing to have the template separated could be simpler. So I'm OK to add the option, but I'm don't know when.
from ffizer.
feature is part of version 1.2.0
from ffizer.
Related Issues (20)
- list of templates
- error with composed repositories HOT 5
- VSCode extension HOT 3
- keep variables value between 2 `apply` HOT 1
- find a way to isolate "example" part from a template to avoid re-apply it
- use git cli when available and fallback to libgit2 HOT 1
- create a plugin to use ffizer with backstage as scaffolder
- memorise what version of template was applied HOT 1
- add shell completion
- failed when convert into json empty (non existing) `{{ input_content }}` HOT 1
- provide parameter or function to format yaml following some rules
- allow to define the default value for applying script
- show command & output when apply script HOT 2
- run test on sample like a snapshot-test tool
- Use ffizer as a linter
- Issue with JSON schema for variable hidden
- support shortcut for command and url
- try to port a cookiecutter template
- add to how-to
- Improve no interaction mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffizer.