News for hackers. Stuff that matters.
Re:Architect your project with Framed: effortless files and ... by linsomniac on Monday June 05, 2023 @10:20AM (#36196540)
CookieCutter is the typical solution for for this.

An alternative is "uPlaybook": https://github.com/linsomniac/uplaybook (disclaimer, I'm the author). It is a YAML-based simple scripting that is focused on simple CLI-based automation, in particular file templating and secrets decryption.

uPlaybook is a small Ansible+CookieCutter combination. In the uPlaybook you can do simple shell-like operations, create files based on jinja2 templates, decrypt secrets, and do some looping/conditionals.

You can define parameters that the user needs to supply (for your "react-create-app" that might be app name, features you might optionally want), which uPlaybook turns into CLI arguments, or it can prompt the user to fill them out.

There are no comments on this comment yet.