Closed dannypsnl closed 1 year ago
@dannypsnl could you give an example of what you would like? it sounds good but I'm feeling a little confused.
For example, assume we have a file ~/.config/from-template/config
with the following content:
[user]
email = "dannypsnl@gmail.com"
name = "Danny"
It will use these meta to replace email and name.
Ohh, I do like this idea. Perhaps if none is specified it can suggest a default based on your gitconfig as well.
Is this related to #8 ?
Yes and no. I'd imagine it would operate independently, so if you don't interactively create a project then it'll just use this file to fill in the information. If you do it interactively, then the data determined from gitconfig or from-template config would be the "default input" for these options.
A requirement I’d like to retain is for users to simply use the GitHub template functionality.
S.
On Wed, 8 Dec 2021 at 19:08, Philip Dumaresq @.***> wrote:
Yes and no. I'd imagine it would operate independently, so if you don't interactively create a project then it'll just use this file to fill in the information. If you do it interactively, then the data determined from gitconfig or from-template config would be the "default input" for these options.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/nixin72/from-template/issues/21#issuecomment-989114076, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2MD5FGRX34JUQIMT6NI3UP6UJXANCNFSM5JGZNNVA .
--
For example, package name, author name and replace values in repo. And maybe use a config and related commands like git configuration