From 9e957c3df0967a46b1324065dcbe513d7428148b Mon Sep 17 00:00:00 2001 From: Nelson Wittwer Date: Mon, 6 Jul 2026 13:29:14 -0400 Subject: [PATCH] Deprecate shopify search command Assisted-By: devx/5ef2b475-3e5b-4ade-b6a0-8c556b6b2b50 --- packages/cli/src/cli/commands/search.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/cli/src/cli/commands/search.ts b/packages/cli/src/cli/commands/search.ts index 07d96c3d75c..c91299b5b92 100644 --- a/packages/cli/src/cli/commands/search.ts +++ b/packages/cli/src/cli/commands/search.ts @@ -4,6 +4,13 @@ import {globalFlags} from '@shopify/cli-kit/node/cli' import {Args} from '@oclif/core' export default class Search extends Command { + static state = 'deprecated' + + static deprecationOptions = { + message: + 'The "shopify search" command has been deprecated. Use "shopify doc search" for up-to-date, agent-oriented documentation search.', + } + static description = 'Search shopify.dev for the most relevant content matching a query. Best for discovery — surfacing the relevant pieces of documentation for a topic, rather than retrieving a whole document. To download a full document verbatim, use `doc fetch`.'