Feature Request: Presets for New Projects

Open
#279 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go, wordpress
Domain
cli

Research direction

No file or test is named. Start by locating the new CLI command and its current project-generation flow; define how a preset source is selected and how its packages are installed, then verify that a new Trellis project can be created from a preset.

Written by the indexing model from the issue text.

Description

enhancement
Terms
Summary

This would be a flag for new that could point to a file that might specify a list of plugins/packages to install for the project.

Motivation
Why are we doing this?

Developer convenience.

What use cases does it support?

Say you are an agency with a stack of plugins/packages that you always use for new projects or perhaps you have multiple types of projects each with their own list of plugins.

What is the expected outcome?

New Trellis project is created with Bedrock + all the plugins from the config file.

Potential conflicts / foreseeable issues

We will need to think through how the configuration would work. Should it just be a file that lives anywhere, should it be in a global conventionally placed config file, could it be a remote file somewhere (like a repo public or private)? We’d need to figure this out and stick with it.

Additional Context

No response

Dominant language
Go
Stars
169
Forks
31
Avg merge
1h 2m
Merged PRs (30d)
17

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from roots/trellis-cli

All issues in roots/trellis-cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.