
Do you or someone you know manage a Shopify store?
Managing a Shopify store in the GUI feels like a full-time job — endless menus, endless tabs, endless confusion. Between spinners, filters, and nested tabs, the GUI steals hours you could spend doing something interesting.
So, why not automate the boring stuffs? And make it easy for others to do the same?
ShopCTL is an in-progress command-line utility for managing your Shopify store data. It comes with a handful of easy-to-compose commands, giving you a quick way to interact with your store’s data straight from the terminal. The goal was to create a more efficient, developer-centric way to manage every aspect of a store -- making it easy to automate!
Simply put, it’s like a Swiss Army knife for your Shopify store — giving you quick, scriptable commands to query and modify products, customers, and more (upcoming).
The tool currently comes with product and customer-related commands and is POSIX-complaint, giving you a familiarity with standard Unix command-line operations. The CLI flags are designed such that you can combine available flags in any order to create a unique query. For instance, the command below will give you all gift-cards on status DRAFT that were created after January 2025 and have tags on-sale and premium.
shopctl product list --gift-card -sDRAFT --tags on-sale,premium --created ">=2025–01–01"
A CLI tool like this opens up endless possibilities if you manage Shopify store(s). For instance, you can create a CI/CD pipeline for automated inventory cleanup, dynamic pricing/tagging, auto-create products in multiple languages, etc. while giving you:
The project is open source like my other projects.
Project Link: https://github.com/ankitpokhrel/shopctl