From 8a31ca83a2016286cc075fe78efa72e1034fe4e6 Mon Sep 17 00:00:00 2001 From: Angelo Ashmore Date: Thu, 18 Jun 2026 18:39:33 +0000 Subject: [PATCH 1/2] feat: direct users to `prismic pull` after init The `prismic sync` command was always a `prismic pull` with a `--watch` flag, which doesn't fit the Type Builder workflow. Point post-init guidance at `prismic pull` instead, and only show it when `--repo` was used (a new repo has no types to pull). Co-Authored-By: Claude Opus 4.8 (1M context) --- src/commands/init.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/commands/init.ts b/src/commands/init.ts index a4362740..0c6cf6ff 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -27,7 +27,7 @@ const config = { description: ` Initialize a new Prismic project by creating a repository and prismic.config.json file. Detects the project framework, installs - dependencies, and syncs models from Prismic. + dependencies, and pulls models from Prismic. Use --repo to connect to an existing repository instead. If a slicemachine.config.json exists, its repository and settings will be @@ -200,5 +200,7 @@ export default createCommand(config, async ({ values }) => { console.info(`\nInitialized Prismic for repository "${repo}".`); console.info("Run `prismic type create ` to create a content type."); - console.info("Run `prismic sync` to sync models from Prismic."); + if (explicitRepo) { + console.info("Run `prismic pull` to pull models from Prismic."); + } }); From 7c50648d313ee73b01873d70eaebb0a068afa91f Mon Sep 17 00:00:00 2001 From: Angelo Ashmore Date: Thu, 18 Jun 2026 18:44:01 +0000 Subject: [PATCH 2/2] fixup: always show the pull guidance after init Co-Authored-By: Claude Opus 4.8 (1M context) --- src/commands/init.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/commands/init.ts b/src/commands/init.ts index 0c6cf6ff..c8086b64 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -200,7 +200,5 @@ export default createCommand(config, async ({ values }) => { console.info(`\nInitialized Prismic for repository "${repo}".`); console.info("Run `prismic type create ` to create a content type."); - if (explicitRepo) { - console.info("Run `prismic pull` to pull models from Prismic."); - } + console.info("Run `prismic pull` to pull models from Prismic."); });