This message was deleted.
# ask-anything
s
This message was deleted.
i
Just an empty file or plug in something in there? When running scaffold it creates it for you and then you can fill in what you want.
Also, if you create the file before scaffolding it won’t recreate it 🙂
s
I mean, when you run ploomber scaffold for the first time, it prepopulates pipeline.yaml, tasks, scripts, etc.... I'm wondering if I could have my own default files get populated in there instead
👍 1
for example, have a skeleton directory of default files
e
great question! I thought about this when working on the scaffolding feature but I didn't implement it. it's actually simple since scaffold takes a folder as parameter and then copies it. So I imagine something like
Copy code
ploomber scaffold --from-template <https://github.com/user/my-template>
what do you think @Steven Horng?
s
yes, that'd work. it'd be nice to define a local directory as well for that template (NFS share, but same difference I guess)
and it'd be nice to be able to set the default template location
so you can just type ploomber scaffold and get the same thing; I guess one could create a bash alias to do that as well, but would be cleaner I think in teh code itself
e
sounds good, can you open an issue so we keep track of it?
s
sure
e
thanks!