Skip to content

Feature request: add rtk rewrite for shopify theme #280

Closed

Description

@oysi2025

Context

rtk discover --all shows shopify theme as an unhandled command:

  • 73 invocations in the last 30 days
  • Typical usage: pushing/pulling themes, checking theme status

Request

Add an RTK rewrite/filter for shopify theme output. Theme push/pull operations produce verbose file-by-file upload logs that could be significantly reduced.

Example commands

shopify theme push --theme 1663933484 --path .
shopify theme pull --theme 1663933484
shopify theme dev
shopify theme list

Found via rtk discover --all.

Activity

  1. FlorianBruniaux commented on Mar 5, 2026

    @FlorianBruniaux
    Contributor

    Partially resolved by PR #349.

    shopify theme push and shopify theme pull are now covered — strips Uploading/Downloading lines, keeps the last 5 lines (summary) via tail_lines.

    Other Shopify subcommands are not covered.

  2. pszymkowiak commented on Mar 10, 2026

    @pszymkowiak
    Collaborator

    Resolved — RTK now ships a built-in TOML filter for Shopify Theme CLI (see src/filters/shopify-theme.toml, landed in PRs #349, #351, #386).

    Estimated savings: 85-95% on shopify theme push. Strips asset upload progress lines, keeps only the last 5 lines (summary). Uses tail_lines=5 + strip_ansi.

    rtk shopify theme push    # keeps summary only
    rtk shopify theme dev     # strips asset lines

    If you encounter any issues with this filter, feel free to reopen or file a new issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions