Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

[Bug]: shopify theme push --only doesn't work #2028

@1deadpixl

Description

@1deadpixl

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

What type of project are you working on?

theme

Expected behavior

When using the --only option with shopify theme push only the specified files are uploaded.

Actual behavior

Nothing happens. No files are uploaded when using the --only option.

The option is only documented in the tool's help docs as "Upload only the specified files."
This option is not documented in the online documentation at https://shopify.dev/themes/tools/cli/theme-commands.

Stack trace

No response

Reproduction steps

  1. Navigate to the directory with a valid Shopify theme structure
  2. Authenticate with Shopify CLI shopify login
  3. Attempt to upload specific files shopify theme push --only [FILES]
  4. Check the files via the online code editor and notice that no files have been uploaded

Operating System

macOS Monterey v12.1 (21C52)

CLI version (run shopify version if you're not sure)

2.11.0

Shell

zsh

Ruby version (run ruby -v if you're not sure)

ruby 3.1.0p0, node 17.4.0

What language and version are you using in your application?

N/A

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions