Skip to content

Commit

Permalink
Merge pull request #2251 from Shopify/hide-theme-update
Browse files Browse the repository at this point in the history
Hide `shopify theme update init` and `shopify theme update check` commands
  • Loading branch information
gonzaloriestra authored Jun 28, 2023
2 parents e6a5ae4 + 219cbb7 commit 716e026
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@
"description": "Build Liquid themes."
},
"theme:update": {
"description": "Manage 'update_extension.json' scripts."
"description": "Manage 'update_extension.json' scripts.",
"hidden": true
},
"app": {
"description": "Build Shopify apps."
Expand Down
2 changes: 0 additions & 2 deletions packages/features/snapshots/commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
theme pull @shopify/theme
theme push @shopify/theme
theme share @shopify/theme
theme update check @shopify/theme
theme update init @shopify/theme
upgrade @shopify/cli
version @shopify/cli
webhook trigger @shopify/app
2 changes: 2 additions & 0 deletions packages/theme/oclif.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1269,6 +1269,7 @@
"pluginName": "@shopify/theme",
"pluginAlias": "@shopify/theme",
"pluginType": "core",
"hidden": true,
"aliases": [],
"flags": {
"no-color": {
Expand Down Expand Up @@ -1302,6 +1303,7 @@
"pluginName": "@shopify/theme",
"pluginAlias": "@shopify/theme",
"pluginType": "core",
"hidden": true,
"aliases": [],
"flags": {
"no-color": {
Expand Down
1 change: 1 addition & 0 deletions packages/theme/src/cli/commands/theme/update/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {Flags} from '@oclif/core'

export default class UpdateCheck extends ThemeCommand {
static description = `Validate an 'update_extension.json' script.`
static hidden = true

static flags = {
...globalFlags,
Expand Down
1 change: 1 addition & 0 deletions packages/theme/src/cli/commands/theme/update/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {globalFlags} from '@shopify/cli-kit/node/cli'

export default class UpdateInit extends ThemeCommand {
static description = `Initialize an 'update_extension.json' script.`
static hidden = true

static flags = {
...globalFlags,
Expand Down

0 comments on commit 716e026

Please sign in to comment.