README
sk-shopify-cli
CLI for SK Shopify projects.
Usage
$ npm install -g sk-shopify-cli
$ sk-shopify COMMAND
running command...
$ sk-shopify (-v|--version|version)
sk-shopify-cli/0.0.2 darwin-x64 node-v12.10.0
$ sk-shopify --help [COMMAND]
USAGE
$ sk-shopify COMMAND
...
Commands
sk-shopify help [COMMAND]
display help for sk-shopify
USAGE
$ sk-shopify help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
sk-shopify theme:sync-envs
theme:sync-envs: getting/updating current project/repo variables
USAGE
$ sk-shopify theme:sync-envs
OPTIONS
-l, --list-only just output current theme list from Shopify Theme API
DESCRIPTION
Grabs the current variables file, and makes it sync up with what the Shopify API currently has for the themes.
Only doing PROD and STAGING syncing, currently; future plans to include .sk-shopify-rc.json/.yml file, which will
manually control which is synced with what.
See code: src/commands/theme/sync-envs.js
Roadmap
- Building in Homebrew support.
- Build support for
.sk-shopify-rc
file, for user configurable options, re-naming of the different environments and what to sync - Init/Set-up commands, building out defaults (incl. for the above mentioned
.sk-shopify-rc
file)