Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/cli/src/cli/commands/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`.'

Expand Down
Loading