Skip to content

Commit

Permalink
Set default ghref for CLI to @bigcommerce/catalyst-core@latest
Browse files Browse the repository at this point in the history
  • Loading branch information
bookernath committed Jan 3, 2025
1 parent 4e6e7c7 commit d7a8cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-catalyst/src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export const create = new Command('create')
.option('--access-token <token>', 'BigCommerce access token')
.option('--channel-id <id>', 'BigCommerce channel ID')
.option('--storefront-token <token>', 'BigCommerce storefront token')
.option('--gh-ref <ref>', 'Clone a specific ref from the source repository')
.option('--gh-ref <ref>', 'Clone a specific ref from the source repository', '@bigcommerce/catalyst-core@latest')

Check warning on line 247 in packages/create-catalyst/src/commands/create.ts

View workflow job for this annotation

GitHub Actions / Lint, Typecheck, and gql.tada

Replace `'--gh-ref·<ref>',·'Clone·a·specific·ref·from·the·source·repository',·'@bigcommerce/catalyst-core@latest'` with `⏎····'--gh-ref·<ref>',⏎····'Clone·a·specific·ref·from·the·source·repository',⏎····'@bigcommerce/catalyst-core@latest',⏎··`
.option('--reset-main', 'Reset the main branch to the gh-ref')
.option('--repository <repository>', 'GitHub repository to clone from', 'bigcommerce/catalyst')
.option('--env <vars...>', 'Arbitrary environment variables to set in .env.local')
Expand Down

0 comments on commit d7a8cac

Please sign in to comment.