diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a04ce92..e44471e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ### Draft +- fix: debug command ([x](https://github.com/bigcommerce/stencil-cli/pull/x)) + ### 5.1.0 (2022-07-14) - fix: STRF-9883 Interm fix to grab 1st variation ([951](https://github.com/bigcommerce/stencil-cli/pull/951)) diff --git a/README.md b/README.md index 05699a45..391bf07b 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Commands: push Bundles up the theme into a zip file and uploads it to your store. pull Pulls the configuration from the active theme on your live store and updates your local configuration. download Downloads the theme files from the active theme on your live store. + debug Prints environment and theme settings for debug purposes. help [cmd] display help for [cmd] Options: @@ -64,6 +65,8 @@ Run `stencil pull` to sync changes to your theme configuration from your live st been used to change certain theme settings, this will update those settings in config.json in your theme files so you don't overwrite them on your next upload. +Run `stencil debug` to get information about runtime environment and the configuration + ## Features ### BrowserSync diff --git a/bin/stencil.js b/bin/stencil.js index d6ea2482..ed68cdc1 100755 --- a/bin/stencil.js +++ b/bin/stencil.js @@ -15,4 +15,5 @@ program .command('push', 'Bundles up the theme into a zip file and uploads it to your store.') .command('pull', 'Pulls currently active theme config files and overwrites local copy') .command('download', 'Downloads all the theme files') + .command('debug', 'Prints environment and theme settings for debug purposes') .parse(process.argv);