Skip to content

Commit

Permalink
feat: refactor theme settings download to pull
Browse files Browse the repository at this point in the history
Shopify has settled on a convention of using `pull` for commands that
get data from their servers. We see this with the new
`theme metafields pull` command.

I think we should be consist. Therefore, we're changing the comand name.
  • Loading branch information
jeffreyguenther committed Jan 27, 2025
1 parent 316b74b commit f8e4c15
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import BaseCommand from '@shopify/cli-kit/node/base-command'
import {themeFlags} from '../../../utilities/shopify/flags.js'
import {pullThemeSettings} from '../../../utilities/theme.js'

export default class Download extends BaseCommand {
export default class Pull extends BaseCommand {
static description = 'Download settings from live theme.'

static flags = {
Expand Down Expand Up @@ -33,7 +33,7 @@ export default class Download extends BaseCommand {
}

async run(): Promise<void> {
const {flags} = await this.parse(Download)
const {flags} = await this.parse(Pull)

const pullflags = {
verbose: flags.verbose,
Expand Down

0 comments on commit f8e4c15

Please sign in to comment.