CLI not downloading files

When trying to do a theme pull to pull down content, I’m having issues where the CLI isn’t pulling down files, specifically templates currently. I’m noticing it seems to not be pulling alternative template. so for example I have collection.champagne-magnum.json in my theme in Shopify but when trying to pull down with the following command, it isn’t pulling.

shopify theme pull --only templates/*.json

That doesn’t work, I’ve also tried the following and it still doesn’t work. So is this a bug in the CLI?

shopify theme pull --only templates/**/*.json

This is potentially very problematic as I use it in Github Actions and to pull down the latest content before doing a push. And if it isn’t able to pull down all the data its going to end up deleting it when it does a push. And I can’t use --nodelete because I’d end up leaving old asset files in there (they get rebuilt).

And just to be clear, I’m even trying to run this locally to pull files down on the command line but it isn’t working.

Not sure if its related to this issue →