diff --git a/.gitignore b/.gitignore index 4b42bf7..2af9bec 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ node_modules/ /config.js /yarn-error.log /config.json +/.github/.token diff --git a/cli/commands/help.js b/cli/commands/help.js index 015a59c..3181b91 100644 --- a/cli/commands/help.js +++ b/cli/commands/help.js @@ -32,16 +32,12 @@ module.exports = () => { 'Compiles your local theme files into a dist directory, uploads these \n' + 'files to your remote Shopify store and finally boots up a local Express\n' + 'server that will serve most of your CSS and JavaScript.', - `--env=my-custom-env-name ---skipPrompts ---skipFirstDeploy`, + `--env=my-custom-env-name\n--skipPrompts\n--skipFirstDeploy,`, ]); commands.push([ chalk.greenBright.bold('watch'), 'Runs start command with skip first deploy flag.', - `--env=my-custom-env-name ---skipPrompts -`, + `--env=my-custom-env-name\n--skipPrompts\n`, ]); commands.push([ chalk.greenBright.bold('build'), @@ -52,25 +48,19 @@ module.exports = () => { chalk.greenBright.bold('lint'), 'Lints the theme code according to the rules declared in the .eslintrc and .stylelintrc files.\n' + 'By default, it uses ESLint to lint JS files, Stylelint to lint CSS files', - `--scripts ---styles ---locales`, + `--scripts\n--styles\n--locales\n`, ]); commands.push([ chalk.greenBright.bold('format'), 'Formats the theme code according to the rules declared in the .eslintrc and .stylelintrc files.\n' + 'By default, it uses ESLint Fix to format JS files, Stylelint Fix to format CSS files\n' + 'and Prettier to format JSON files.', - `--scripts ---styles ---locales`, + `--scripts\n--styles\n--locales`, ]); commands.push([ chalk.greenBright.bold('deploy'), 'Uploads the dist folder to the Shopify store.', - `--env=my-custom-env-name ---skipPrompts ---nodelete`, + `--env=my-custom-env-name,\n--skipPrompts,\n--nodelete`, ]); commands.push([ chalk.greenBright.bold('zip'), @@ -85,20 +75,17 @@ module.exports = () => { commands.push([ chalk.greenBright.bold('theme:create'), 'Create a new theme using credentials in packer.config.json, it will add the store id to your config', - `--env=my-custom-env-name ---name=my-theme-name ---deploy`, + `--env=my-custom-env-name\n--name=my-theme-name\n--deploy\n`, ]); commands.push([ chalk.greenBright.bold('theme:remove'), 'Completely deletes the theme using the id set in packer.config.json or by providing a id flag', - '--env=my-custom-env-name\n', - '--id=1234456789\n', + `--env=my-custom-env-name\n--id=1234456789\n`, ]); commands.push([ chalk.greenBright.bold('theme:download'), 'Download theme files from shopify', - '--settings\n', + '--settings', ]); commands.push([ chalk.greenBright.bold('--version | -v'),