Skip to content

Commit

Permalink
Merge pull request #2835 from Shopify/upgrade-oclif
Browse files Browse the repository at this point in the history
Upgrade oclif to 3.16.0
  • Loading branch information
Arkham authored Sep 19, 2023
2 parents 538ec4e + b94dbac commit 34d44f6
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 154 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"liquidjs": "^10.9.2",
"node-fetch": "^3.3.2",
"nx": "16.7.4",
"oclif": "3.11.0",
"oclif": "3.16.0",
"octokit-plugin-create-pull-request": "^3.12.2",
"pathe": "1.1.1",
"pin-github-action": "^1.8.0",
Expand Down
86 changes: 86 additions & 0 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ DESCRIPTION
Build the app.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/build.js)_

## `shopify app config link`

Fetch your app configuration from the Partner Dashboard.
Expand All @@ -95,6 +97,8 @@ DESCRIPTION
Fetch your app configuration from the Partner Dashboard.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/config/link.js)_

## `shopify app config push`

Push your app configuration to the Partner Dashboard.
Expand All @@ -114,6 +118,8 @@ DESCRIPTION
Push your app configuration to the Partner Dashboard.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/config/push.js)_

## `shopify app config use [CONFIG]`

Activate an app configuration.
Expand All @@ -135,6 +141,8 @@ DESCRIPTION
Activate an app configuration.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/config/use.js)_

## `shopify app deploy`

Deploy your Shopify app.
Expand Down Expand Up @@ -163,6 +171,8 @@ DESCRIPTION
Deploy your Shopify app.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/deploy.js)_

## `shopify app dev`

Run the app.
Expand Down Expand Up @@ -198,6 +208,8 @@ DESCRIPTION
Run the app.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/dev.js)_

## `shopify app env pull`

Pull app and extensions environment variables.
Expand All @@ -217,6 +229,8 @@ DESCRIPTION
Pull app and extensions environment variables.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/env/pull.js)_

## `shopify app env show`

Display app and extensions environment variables.
Expand All @@ -235,6 +249,8 @@ DESCRIPTION
Display app and extensions environment variables.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/env/show.js)_

## `shopify app function build`

Compile a function to wasm.
Expand All @@ -253,6 +269,8 @@ DESCRIPTION
Compile a function to wasm.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/function/build.js)_

## `shopify app function run`

Run a function locally for testing.
Expand All @@ -274,6 +292,8 @@ DESCRIPTION
Run a function locally for testing.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/function/run.js)_

## `shopify app function schema`

Fetch the latest GraphQL schema for a function.
Expand All @@ -294,6 +314,8 @@ DESCRIPTION
Fetch the latest GraphQL schema for a function.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/function/schema.js)_

## `shopify app function typegen`

Generate GraphQL types for a JavaScript function.
Expand All @@ -312,6 +334,8 @@ DESCRIPTION
Generate GraphQL types for a JavaScript function.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/function/typegen.js)_

## `shopify app generate extension [FILE]`

Scaffold an Extension.
Expand Down Expand Up @@ -341,6 +365,8 @@ EXAMPLES
$ shopify app generate extension
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/generate/extension.js)_

## `shopify app generate schema`

Fetch the latest GraphQL schema for a function.
Expand All @@ -361,6 +387,8 @@ DESCRIPTION
Fetch the latest GraphQL schema for a function.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/generate/schema.js)_

## `shopify app import-flow-legacy-extensions`

Import dashboard-managed flow extensions into your app.
Expand All @@ -381,6 +409,8 @@ DESCRIPTION
Import dashboard-managed flow extensions into your app.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/import-flow-legacy-extensions.js)_

## `shopify app info`

Print basic information about your app and extensions.
Expand All @@ -401,6 +431,8 @@ DESCRIPTION
Print basic information about your app and extensions.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/info.js)_

## `shopify app release`

Release an app version.
Expand All @@ -423,6 +455,8 @@ DESCRIPTION
Release an app version.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/release.js)_

## `shopify app update-url`

Update your app and redirect URLs in the Partners Dashboard.
Expand All @@ -446,6 +480,8 @@ DESCRIPTION
Update your app and redirect URLs in the Partners Dashboard.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/update-url.js)_

## `shopify app versions list [FILE]`

List deployed versions of your app.
Expand All @@ -468,6 +504,8 @@ EXAMPLES
$ shopify app versions list
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/app/versions/list.js)_

## `shopify auth logout`

Logout from Shopify.
Expand All @@ -480,6 +518,8 @@ DESCRIPTION
Logout from Shopify.
```

_See code: [dist/cli/commands/auth/logout.js](https://github.com/Shopify/cli/edit/main/packages/cli/blob/v3.49.1/dist/cli/commands/auth/logout.js)_

## `shopify commands`

list all the commands
Expand Down Expand Up @@ -580,6 +620,8 @@ DESCRIPTION
View the UI kit components that process async tasks
```

_See code: [dist/cli/commands/kitchen-sink/async.js](https://github.com/Shopify/cli/edit/main/packages/cli/blob/v3.49.1/dist/cli/commands/kitchen-sink/async.js)_

## `shopify kitchen-sink prompts`

View the UI kit components prompts
Expand All @@ -592,6 +634,8 @@ DESCRIPTION
View the UI kit components prompts
```

_See code: [dist/cli/commands/kitchen-sink/prompts.js](https://github.com/Shopify/cli/edit/main/packages/cli/blob/v3.49.1/dist/cli/commands/kitchen-sink/prompts.js)_

## `shopify kitchen-sink static`

View the UI kit components that display static output
Expand All @@ -604,6 +648,8 @@ DESCRIPTION
View the UI kit components that display static output
```

_See code: [dist/cli/commands/kitchen-sink/static.js](https://github.com/Shopify/cli/edit/main/packages/cli/blob/v3.49.1/dist/cli/commands/kitchen-sink/static.js)_

## `shopify plugins:install PLUGIN...`

Installs a plugin into the CLI.
Expand Down Expand Up @@ -667,6 +713,8 @@ EXAMPLES
$ shopify plugins:inspect myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.8/src/commands/plugins/inspect.ts)_

## `shopify plugins:install PLUGIN...`

Installs a plugin into the CLI.
Expand Down Expand Up @@ -705,6 +753,8 @@ EXAMPLES
$ shopify plugins:install someuser/someplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.8/src/commands/plugins/install.ts)_

## `shopify plugins:link PLUGIN`

Links a plugin into the CLI for development.
Expand Down Expand Up @@ -732,6 +782,8 @@ EXAMPLES
$ shopify plugins:link myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.8/src/commands/plugins/link.ts)_

## `shopify plugins:uninstall PLUGIN...`

Removes a plugin from the CLI.
Expand Down Expand Up @@ -778,6 +830,8 @@ ALIASES
$ shopify plugins remove
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.8/src/commands/plugins/uninstall.ts)_

## `shopify plugins:uninstall PLUGIN...`

Removes a plugin from the CLI.
Expand Down Expand Up @@ -817,6 +871,8 @@ DESCRIPTION
Update installed plugins.
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.8/src/commands/plugins/update.ts)_

## `shopify search [QUERY]`

Starts a search on shopify.dev.
Expand Down Expand Up @@ -866,6 +922,8 @@ DESCRIPTION
Validate the theme.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/check.js)_

## `shopify theme console`

Shopify Liquid REPL (read-eval-print loop) tool
Expand All @@ -889,6 +947,8 @@ DESCRIPTION
Shopify Liquid REPL (read-eval-print loop) tool
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/console.js)_

## `shopify theme delete`

Delete remote themes from the connected store. This command can't be undone.
Expand All @@ -914,6 +974,8 @@ DESCRIPTION
Delete remote themes from the connected store. This command can't be undone.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/delete.js)_

## `shopify theme dev`

Uploads the current theme as a development theme to the connected store, then prints theme editor and preview URLs to your terminal. While running, changes will push to the store in real time.
Expand Down Expand Up @@ -984,6 +1046,8 @@ DESCRIPTION
your terminal. While running, changes will push to the store in real time.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/dev.js)_

## `shopify theme info`

Print basic information about your theme environment.
Expand All @@ -1000,6 +1064,8 @@ DESCRIPTION
Print basic information about your theme environment.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/info.js)_

## `shopify theme init [NAME]`

Clones a Git repository to use as a starting point for building a new theme.
Expand All @@ -1023,6 +1089,8 @@ DESCRIPTION
Clones a Git repository to use as a starting point for building a new theme.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/init.js)_

## `shopify theme language-server`

Start a Language Server Protocol server.
Expand All @@ -1039,6 +1107,8 @@ DESCRIPTION
Start a Language Server Protocol server.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/language-server.js)_

## `shopify theme list`

Lists your remote themes.
Expand All @@ -1064,6 +1134,8 @@ DESCRIPTION
Lists your remote themes.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/list.js)_

## `shopify theme open`

Opens the preview of your remote theme.
Expand All @@ -1089,6 +1161,8 @@ DESCRIPTION
Opens the preview of your remote theme.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/open.js)_

## `shopify theme package`

Package your theme into a .zip file, ready to upload to the Online Store.
Expand All @@ -1106,6 +1180,8 @@ DESCRIPTION
Package your theme into a .zip file, ready to upload to the Online Store.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/package.js)_

## `shopify theme publish`

Set a remote theme as the live theme.
Expand All @@ -1128,6 +1204,8 @@ DESCRIPTION
Set a remote theme as the live theme.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/publish.js)_

## `shopify theme pull`

Download your remote theme files locally.
Expand Down Expand Up @@ -1156,6 +1234,8 @@ DESCRIPTION
Download your remote theme files locally.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/pull.js)_

## `shopify theme push`

Uploads your local theme files to the connected store, overwriting the remote version if specified.
Expand Down Expand Up @@ -1188,6 +1268,8 @@ DESCRIPTION
Uploads your local theme files to the connected store, overwriting the remote version if specified.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/push.js)_

## `shopify theme share`

Creates a shareable, unpublished, and new theme on your theme library with a randomized name. Works like an alias to `shopify theme push -u -t=RANDOMIZED_NAME`.
Expand All @@ -1210,6 +1292,8 @@ DESCRIPTION
`shopify theme push -u -t=RANDOMIZED_NAME`.
```

_See code: [@shopify/theme](https://github.com/Shopify/cli/edit/main/packages/theme/blob/v3.49.1/dist/cli/commands/theme/share.js)_

## `shopify upgrade`

Upgrade the Shopify CLI.
Expand Down Expand Up @@ -1283,4 +1367,6 @@ FLAGS
DESCRIPTION
Trigger delivery of a sample webhook topic payload to a designated address.
```

_See code: [@shopify/app](https://github.com/Shopify/cli/edit/main/packages/app/blob/v3.49.1/dist/cli/commands/webhook/trigger.js)_
<!-- commandsstop -->
Loading

0 comments on commit 34d44f6

Please sign in to comment.