Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add different boilerplate templates #27

Open
davidomarf opened this issue Oct 25, 2019 · 0 comments
Open

Add different boilerplate templates #27

davidomarf opened this issue Oct 25, 2019 · 0 comments

Comments

@davidomarf
Copy link
Owner

Add a list of boilerplates that gets called when you run ginpar init in a wat of prompts. They could be anidated:

A boilerplates list like this:

.
└── Boilerplates/
    ├── p5/
    │   ├── grids/
    │   │   ├── sketch.js
    │   │   └── data.yaml
    │   └── particles/
    │       ├── sketch.js
    │       └── data.yaml
    └── d3/
        ├── sketch.js
        └── data.yaml

Would result in this series of prompts:

$ ginpar init

1. p5
2. d3

Select a boilerplate: 1

1. grids
2. particles

Select a boilerplate: 2

Choose the name of the new project: Example

> Creating `Example` using `p5/particles`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant