Skip to content

LTRAC-1222: feat(cli) - Add --code-only flag to catalyst create - #3366

Draft
jorgemoya wants to merge 1 commit into
canaryfrom
jorgemoya/ltrac-1222-allow-catalyst-provisioning-without
Draft

jorgemoya wants to merge 1 commit into
canaryfrom
jorgemoya/ltrac-1222-allow-catalyst-provisioning-without

Conversation

@jorgemoya

Copy link
Copy Markdown
Contributor

What/Why?

LTRAC-1222: catalyst create always starts device login and channel selection, so there's no non-interactive way to scaffold just the code.

--code-only skips login, channel resolution and credential persistence. Link a channel later with catalyst channels link. It conflicts with --channel-id, --storefront-token, --hosting, --use-existing, and --store-hash / --access-token when passed on the command line. CATALYST_* env credentials are ignored.

Testing

  • New unit tests in create.spec.ts; CLI suite, typecheck and lint pass.
  • Built the CLI and ran catalyst create --project-name code-only-test --code-only: no prompts, no .bigcommerce/project.json, .env.local matches .env.example, git commit created.

Migration

None.

`catalyst create` always started device login and channel selection, so there
was no non-interactive way to scaffold just the code. `--code-only` skips
login, channel resolution and credential persistence; connect a channel later
with `catalyst channels link`.

Refs LTRAC-1222
@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
catalyst Ready Ready Preview Dec 1, 2026 8:54pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Dec 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 29fe180

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bigcommerce/catalyst Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This branch was successfully deployed

1 active deployment
Preview — 29fe1805 Deployed Dec 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant