Skip to content

Commit

Permalink
feat: add deprecation alias for download command
Browse files Browse the repository at this point in the history
We're removing the theme settings download command, but rather than
break people's setups, we will provide an alias and alert them that they
should change their tooling.
  • Loading branch information
jeffreyguenther committed Jan 27, 2025
1 parent f8e4c15 commit 2edbd75
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/commands/theme/settings/download.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import {renderWarning} from '@shopify/cli-kit/node/ui'
import Pull from './pull.js'

export default class Download extends Pull {
static hidden = true

async run() {
renderWarning({
headline: ['The', {command: 'shopkeeper theme settings download'}, 'command is deprecated.'],
body: ['Use', {command: 'shopify theme settings pull'}, 'instead.'],
})

await super.run()
}
}

0 comments on commit 2edbd75

Please sign in to comment.