Skip to content

[Feature]: change --only flag to include new files #6160

@hairylemon-developers

Description

@hairylemon-developers

What area(s) will this request affect?

Theme

What type of change do you want to see?

Substantial change to existing feature

Overview

It makes zero sense to exclude new files in directories using the --only flag. It's not documented anywhere that this flag excludes new files. This has caused issues with content disappearing from themes.

I would expect that:

shopify theme pull --only config/* --only locales/* --only templates/*

Would pull everything from those folders, including new files.

Motivation

Lost a bunch of theme content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions