cli
cli copied to clipboard
[Feature]: Add a mechanism for users to check and build platform config files
What area(s) will this request affect?
Other
What type of change do you want to see?
New feature
Overview
Create a new set of commands that can be used to build and validate platform-owned configuration files such as
-
.env
,shopify.app.toml
,.shopifyignore
Ideas / Example Commands
- Create Create a file with a placeholder / template
- Build Provide a mechanism launches an interactive flow that allows you to build a .env (or at least provides some info)
-
Check Domain specific, but for an example of
.shopifyignore
this could be fed a list of inputs which are matched against the patterns
Motivation
Config files are often a set it and forget it kind of thing, so we can forget how painful it can be to get these right.
On top of that, being able to validate your .shopifyignore
directly against a theme could save valuable feedback cycles
I have a prototype of something along these lines which allows users to validate .shopifyignore
- https://github.com/Shopify/cli/pull/3781