Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: debug command #970

Merged
merged 1 commit into from
Aug 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions bin/stencil.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);