Skip to content

Commit f57eda4

Browse files
Update manifests
1 parent 2540ab8 commit f57eda4

3 files changed

Lines changed: 123 additions & 0 deletions

File tree

packages/cli/README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
* [`shopify config autocorrect off`](#shopify-config-autocorrect-off)
3737
* [`shopify config autocorrect on`](#shopify-config-autocorrect-on)
3838
* [`shopify config autocorrect status`](#shopify-config-autocorrect-status)
39+
* [`shopify config autoupgrade off`](#shopify-config-autoupgrade-off)
40+
* [`shopify config autoupgrade on`](#shopify-config-autoupgrade-on)
41+
* [`shopify config autoupgrade status`](#shopify-config-autoupgrade-status)
3942
* [`shopify help [command] [flags]`](#shopify-help-command-flags)
4043
* [`shopify hydrogen build`](#shopify-hydrogen-build)
4144
* [`shopify hydrogen check RESOURCE`](#shopify-hydrogen-check-resource)
@@ -1162,6 +1165,60 @@ DESCRIPTION
11621165
When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.
11631166
```
11641167

1168+
## `shopify config autoupgrade off`
1169+
1170+
Disable automatic upgrades for Shopify CLI.
1171+
1172+
```
1173+
USAGE
1174+
$ shopify config autoupgrade off
1175+
1176+
DESCRIPTION
1177+
Disable automatic upgrades for Shopify CLI.
1178+
1179+
Disable automatic upgrades for Shopify CLI.
1180+
1181+
When auto-upgrade is disabled, Shopify CLI won't automatically update. Run `shopify upgrade` to update manually.
1182+
1183+
To enable auto-upgrade, run `shopify config autoupgrade on`.
1184+
```
1185+
1186+
## `shopify config autoupgrade on`
1187+
1188+
Enable automatic upgrades for Shopify CLI.
1189+
1190+
```
1191+
USAGE
1192+
$ shopify config autoupgrade on
1193+
1194+
DESCRIPTION
1195+
Enable automatic upgrades for Shopify CLI.
1196+
1197+
Enable automatic upgrades for Shopify CLI.
1198+
1199+
When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.
1200+
1201+
To disable auto-upgrade, run `shopify config autoupgrade off`.
1202+
```
1203+
1204+
## `shopify config autoupgrade status`
1205+
1206+
Check whether auto-upgrade is enabled, disabled, or not yet configured.
1207+
1208+
```
1209+
USAGE
1210+
$ shopify config autoupgrade status
1211+
1212+
DESCRIPTION
1213+
Check whether auto-upgrade is enabled, disabled, or not yet configured.
1214+
1215+
Check whether auto-upgrade is enabled, disabled, or not yet configured.
1216+
1217+
When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.
1218+
1219+
Run `shopify config autoupgrade on` or `shopify config autoupgrade off` to configure it.
1220+
```
1221+
11651222
## `shopify help [command] [flags]`
11661223

11671224
Display help for Shopify CLI

packages/cli/oclif.manifest.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3386,6 +3386,66 @@
33863386
"strict": true,
33873387
"summary": "Check whether autocorrect is enabled or disabled. On by default."
33883388
},
3389+
"config:autoupgrade:off": {
3390+
"aliases": [
3391+
],
3392+
"args": {
3393+
},
3394+
"description": "Disable automatic upgrades for Shopify CLI.\n\n When auto-upgrade is disabled, Shopify CLI won't automatically update. Run `shopify upgrade` to update manually.\n\n To enable auto-upgrade, run `shopify config autoupgrade on`.\n",
3395+
"descriptionWithMarkdown": "Disable automatic upgrades for Shopify CLI.\n\n When auto-upgrade is disabled, Shopify CLI won't automatically update. Run `shopify upgrade` to update manually.\n\n To enable auto-upgrade, run `shopify config autoupgrade on`.\n",
3396+
"enableJsonFlag": false,
3397+
"flags": {
3398+
},
3399+
"hasDynamicHelp": false,
3400+
"hiddenAliases": [
3401+
],
3402+
"id": "config:autoupgrade:off",
3403+
"pluginAlias": "@shopify/cli",
3404+
"pluginName": "@shopify/cli",
3405+
"pluginType": "core",
3406+
"strict": true,
3407+
"summary": "Disable automatic upgrades for Shopify CLI."
3408+
},
3409+
"config:autoupgrade:on": {
3410+
"aliases": [
3411+
],
3412+
"args": {
3413+
},
3414+
"description": "Enable automatic upgrades for Shopify CLI.\n\n When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.\n\n To disable auto-upgrade, run `shopify config autoupgrade off`.\n",
3415+
"descriptionWithMarkdown": "Enable automatic upgrades for Shopify CLI.\n\n When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.\n\n To disable auto-upgrade, run `shopify config autoupgrade off`.\n",
3416+
"enableJsonFlag": false,
3417+
"flags": {
3418+
},
3419+
"hasDynamicHelp": false,
3420+
"hiddenAliases": [
3421+
],
3422+
"id": "config:autoupgrade:on",
3423+
"pluginAlias": "@shopify/cli",
3424+
"pluginName": "@shopify/cli",
3425+
"pluginType": "core",
3426+
"strict": true,
3427+
"summary": "Enable automatic upgrades for Shopify CLI."
3428+
},
3429+
"config:autoupgrade:status": {
3430+
"aliases": [
3431+
],
3432+
"args": {
3433+
},
3434+
"description": "Check whether auto-upgrade is enabled, disabled, or not yet configured.\n\n When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.\n\n Run `shopify config autoupgrade on` or `shopify config autoupgrade off` to configure it.\n",
3435+
"descriptionWithMarkdown": "Check whether auto-upgrade is enabled, disabled, or not yet configured.\n\n When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.\n\n Run `shopify config autoupgrade on` or `shopify config autoupgrade off` to configure it.\n",
3436+
"enableJsonFlag": false,
3437+
"flags": {
3438+
},
3439+
"hasDynamicHelp": false,
3440+
"hiddenAliases": [
3441+
],
3442+
"id": "config:autoupgrade:status",
3443+
"pluginAlias": "@shopify/cli",
3444+
"pluginName": "@shopify/cli",
3445+
"pluginType": "core",
3446+
"strict": true,
3447+
"summary": "Check whether auto-upgrade is enabled, disabled, or not yet configured."
3448+
},
33893449
"debug:command-flags": {
33903450
"aliases": [
33913451
],

packages/cli/src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ import Generate from './cli/commands/notifications/generate.js'
1717
import ClearCache from './cli/commands/cache/clear.js'
1818
import StoreAuth from './cli/commands/store/auth.js'
1919
import StoreExecute from './cli/commands/store/execute.js'
20+
import AutoupgradeOff from './cli/commands/config/autoupgrade/off.js'
21+
import AutoupgradeOn from './cli/commands/config/autoupgrade/on.js'
22+
import AutoupgradeStatus from './cli/commands/config/autoupgrade/status.js'
2023
import {createGlobalProxyAgent} from 'global-agent'
2124
import ThemeCommands from '@shopify/theme'
2225
import {COMMANDS as HydrogenCommands, HOOKS as HydrogenHooks} from '@shopify/cli-hydrogen'
@@ -154,6 +157,9 @@ export const COMMANDS: any = {
154157
'cache:clear': ClearCache,
155158
'store:auth': StoreAuth,
156159
'store:execute': StoreExecute,
160+
'config:autoupgrade:off': AutoupgradeOff,
161+
'config:autoupgrade:on': AutoupgradeOn,
162+
'config:autoupgrade:status': AutoupgradeStatus,
157163
}
158164

159165
export default runShopifyCLI

0 commit comments

Comments
 (0)