nixin72 / from-template

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

customise template instantiation #8

Open spdegabrielle opened 4 years ago

spdegabrielle commented 4 years ago

Extend raco new to support additional arguments to customise template instantiation e.g. renaming main.scrbl to $PACKAGE-NAME.scrbl

extension options:

Suggestions from @samth @greghendershott @sorawee on racket slack 17-Sep-2020

nixin72 commented 4 years ago

How about having prompts at the terminal to change different options? Something similar to when you run npm init and you change a bunch of settings for your project. Can add a -i flag to tell it when to interactively let you change certain things.

spdegabrielle commented 4 years ago

That is a great idea!

spdegabrielle commented 4 years ago

I think 'charterm' will be helpful for interactive prompt stuff.

nixin72 commented 4 years ago

Sounds good! I'm getting started on this now :+1:

nixin72 commented 4 years ago

After taking a very brief look at charterm, I think that'll be a little overkill for this honestly...