fastify / fastify/fastify-cli

Allow to use custom templates

Open
#846 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
733
Forks
177
Avg merge
1d 20h
Merged PRs (30d)
3

Description

### Prerequisites

- [x] I have written a descriptive issue title
- [x] I have searched existing issues to ensure the feature has not already been requested

### 🚀 Feature Proposal

For the `generate` command, add a new `--template` CLI arg that would define what actual template to use, instead of just only the built-in ones. It can be a path to a local folder, so files would be copied from there instead of from the location of the built-in templates, or an url, so the content would be downloaded from there, for example from a git repository.

### Motivation

I would like to have a pre-defined template with some custom plugins, and this way would be easier than using a cookies-cutter or an install script.

### Example

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.