nixin72 / from-template

Raco tool for cloning templates from the racket-templates org
MIT License
8 stars 4 forks source link

Ask Meta information #21

Closed dannypsnl closed 1 year ago

dannypsnl commented 2 years ago

For example, package name, author name and replace values in repo. And maybe use a config and related commands like git configuration

spdegabrielle commented 2 years ago

@dannypsnl could you give an example of what you would like? it sounds good but I'm feeling a little confused.

dannypsnl commented 2 years ago

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.

nixin72 commented 2 years ago

Ohh, I do like this idea. Perhaps if none is specified it can suggest a default based on your gitconfig as well.

spdegabrielle commented 2 years ago

Is this related to #8 ?

nixin72 commented 2 years ago

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.

spdegabrielle commented 2 years ago

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 .

--