shopify-cli 0.9.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/.github/CODEOWNERS +3 -0
  3. data/CHANGELOG.md +24 -2
  4. data/RELEASING.md +4 -4
  5. data/docs/_config.yml +3 -0
  6. data/docs/_data/nav.yml +9 -0
  7. data/docs/getting-started/index.md +5 -40
  8. data/docs/getting-started/install/index.md +75 -0
  9. data/docs/getting-started/migrate/index.md +96 -0
  10. data/docs/getting-started/uninstall/index.md +37 -0
  11. data/docs/getting-started/upgrade/index.md +37 -0
  12. data/docs/index.md +5 -6
  13. data/lib/project_types/extension/cli.rb +2 -1
  14. data/lib/project_types/extension/commands/tunnel.rb +1 -1
  15. data/lib/project_types/extension/forms/register.rb +2 -3
  16. data/lib/project_types/extension/graphql/get_app_by_api_key.graphql +9 -0
  17. data/lib/project_types/extension/tasks/converters/app_converter.rb +27 -0
  18. data/lib/project_types/extension/tasks/get_app.rb +22 -0
  19. data/lib/project_types/extension/tasks/get_apps.rb +1 -6
  20. data/lib/project_types/node/forms/create.rb +3 -54
  21. data/lib/project_types/node/messages/messages.rb +3 -14
  22. data/lib/project_types/rails/forms/create.rb +3 -52
  23. data/lib/project_types/rails/messages/messages.rb +2 -13
  24. data/lib/project_types/script/cli.rb +5 -5
  25. data/lib/project_types/script/commands/create.rb +5 -4
  26. data/lib/project_types/script/commands/push.rb +1 -0
  27. data/lib/project_types/script/config/extension_points.yml +3 -3
  28. data/lib/project_types/script/errors.rb +1 -0
  29. data/lib/project_types/script/forms/create.rb +8 -4
  30. data/lib/project_types/script/layers/application/build_script.rb +7 -10
  31. data/lib/project_types/script/layers/application/create_script.rb +16 -14
  32. data/lib/project_types/script/layers/application/project_dependencies.rb +3 -9
  33. data/lib/project_types/script/layers/application/push_script.rb +13 -11
  34. data/lib/project_types/script/layers/infrastructure/assemblyscript_project_creator.rb +106 -0
  35. data/lib/project_types/script/layers/infrastructure/assemblyscript_task_runner.rb +64 -0
  36. data/lib/project_types/script/layers/infrastructure/errors.rb +2 -2
  37. data/lib/project_types/script/layers/infrastructure/project_creator.rb +23 -0
  38. data/lib/project_types/script/layers/infrastructure/push_package_repository.rb +6 -3
  39. data/lib/project_types/script/layers/infrastructure/script_repository.rb +8 -38
  40. data/lib/project_types/script/layers/infrastructure/task_runner.rb +18 -0
  41. data/lib/project_types/script/messages/messages.rb +5 -6
  42. data/lib/project_types/script/script_project.rb +22 -9
  43. data/lib/project_types/script/templates/ts/as-pect.d.ts +1 -0
  44. data/lib/project_types/script/ui/error_handler.rb +5 -0
  45. data/lib/shopify-cli/admin_api.rb +1 -2
  46. data/lib/shopify-cli/admin_api/populate_resource_command.rb +10 -1
  47. data/lib/shopify-cli/admin_api/schema.rb +11 -1
  48. data/lib/shopify-cli/api.rb +2 -0
  49. data/lib/shopify-cli/context.rb +60 -0
  50. data/lib/shopify-cli/core/entry_point.rb +6 -0
  51. data/lib/shopify-cli/core/finalize.rb +13 -0
  52. data/lib/shopify-cli/git.rb +14 -10
  53. data/lib/shopify-cli/messages/messages.rb +22 -2
  54. data/lib/shopify-cli/tasks.rb +1 -0
  55. data/lib/shopify-cli/tasks/select_org_and_shop.rb +77 -0
  56. data/lib/shopify-cli/tunnel.rb +33 -1
  57. data/lib/shopify-cli/version.rb +1 -1
  58. data/vendor/deps/cli-ui/REVISION +1 -1
  59. data/vendor/deps/cli-ui/lib/cli/ui.rb +52 -11
  60. data/vendor/deps/cli-ui/lib/cli/ui/color.rb +11 -7
  61. data/vendor/deps/cli-ui/lib/cli/ui/formatter.rb +34 -21
  62. data/vendor/deps/cli-ui/lib/cli/ui/frame.rb +107 -149
  63. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_stack.rb +99 -0
  64. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style.rb +119 -0
  65. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style/box.rb +158 -0
  66. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style/bracket.rb +112 -0
  67. data/vendor/deps/cli-ui/lib/cli/ui/glyph.rb +9 -15
  68. data/vendor/deps/cli-ui/lib/cli/ui/printer.rb +47 -0
  69. data/vendor/deps/cli-ui/lib/cli/ui/progress.rb +9 -7
  70. data/vendor/deps/cli-ui/lib/cli/ui/prompt.rb +39 -14
  71. data/vendor/deps/cli-ui/lib/cli/ui/prompt/interactive_options.rb +62 -44
  72. data/vendor/deps/cli-ui/lib/cli/ui/prompt/options_handler.rb +7 -2
  73. data/vendor/deps/cli-ui/lib/cli/ui/spinner.rb +23 -3
  74. data/vendor/deps/cli-ui/lib/cli/ui/spinner/spin_group.rb +34 -10
  75. data/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb +12 -7
  76. data/vendor/deps/cli-ui/lib/cli/ui/terminal.rb +26 -16
  77. data/vendor/deps/cli-ui/lib/cli/ui/truncater.rb +3 -3
  78. data/vendor/deps/cli-ui/lib/cli/ui/widgets.rb +75 -0
  79. data/vendor/deps/cli-ui/lib/cli/ui/widgets/base.rb +27 -0
  80. data/vendor/deps/cli-ui/lib/cli/ui/widgets/status.rb +61 -0
  81. metadata +24 -9
  82. data/lib/project_types/extension/features/tunnel_url.rb +0 -20
  83. data/lib/project_types/script/layers/infrastructure/assemblyscript_dependency_manager.rb +0 -73
  84. data/lib/project_types/script/layers/infrastructure/assemblyscript_wasm_builder.rb +0 -39
  85. data/lib/project_types/script/layers/infrastructure/dependency_manager.rb +0 -36
  86. data/lib/project_types/script/layers/infrastructure/script_builder.rb +0 -34
  87. data/lib/project_types/script/layers/infrastructure/test_suite_repository.rb +0 -59
  88. data/vendor/deps/cli-ui/lib/cli/ui/box.rb +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c41d92242b50f6d361cd7ad137799bffe507581437f25a1eb1bd183cc206c63
4
- data.tar.gz: '06887cc6c8442a754bf9a9d60e10968c5c59325b98a50d452e6f849a80db7226'
3
+ metadata.gz: 3355ade46f06f8fad98098842f7b68bb0a154a53921a498ca4aba18379512ff6
4
+ data.tar.gz: 57617469febb8905d737a9991f4da4a578e0f87bc8cad17bfc3d674e28cd40c2
5
5
  SHA512:
6
- metadata.gz: 23260cf14a8e617539fedb1bddf1beb5f91604fc5db87d147335649dd01f7fb9859c87da6a01bba5c19743dabc8aa0c1c55bf269cdaec57943f076a88fffcff9
7
- data.tar.gz: eddd93f62bb2bd7f8364c4c423847568838d08fdbf77f777f03f2adb9fbfa67f7a3af83bedc48025f217e1787288f5b6e10424e5dbdad1156a8faaf80ddb041c
6
+ metadata.gz: a71cd8e3f4f9409f0c527ab6da9152e592d7cd1be173d9fe4e1499713998cf245541504151a1e63fa5901cf0c83b1d41302bc6628defff86042908b5e63d37af
7
+ data.tar.gz: 2d16c25b44bd21abbcd154abd0ff5d3b3e9e464b7c89377b523299855800cd65bf3357d89b3d92d8a66137e8316d64de755263a1bc21f30df1c5ad3b8e492492
@@ -1 +1,4 @@
1
1
  * @shopify/platform-dev-tools-education
2
+
3
+ /lib/project_types/script/ @shopify/scripts
4
+ /test/project_types/script/ @shopify/scripts
@@ -1,8 +1,30 @@
1
- Version 0.9.1
1
+ Version 1.0.2
2
+ ------
3
+ * Fix missing shop parameter to AdminAPI.query() call (impacting populate and generate commands)
4
+
5
+ Version 1.0.1
6
+ ------
7
+ * Fixed an issue with RVM taking over the shell shim fd when it was not in use
8
+
9
+ Version 1.0.0
10
+ ------
11
+ * Release the installer-based version of the CLI
12
+
13
+ Version 0.9.3 - Internal Test Version
14
+ ------
15
+ * Rebased to master
16
+ * Removed auto-generated files from builds directory
17
+
18
+ Version 0.9.2 - Internal Test Version
19
+ ------
20
+ * Rebased to master, to pull in 7+ Pull Requests
21
+ * Updates to dependencies to package files (updated Ruby version)
22
+
23
+ Version 0.9.1 - Internal Test Version
2
24
  ------
3
25
  * Updated required Ruby version for the CLI
4
26
  * Minor fixes for the build / release process
5
27
 
6
- Version 0.9.0
28
+ Version 0.9.0 - Internal Test Version
7
29
  ------
8
30
  * Initial test release of gem-based CLI
@@ -13,7 +13,7 @@
13
13
 
14
14
  5. Commit the changes with a commit message like "Packaging for release X.Y.Z"
15
15
  ```
16
- $ git commit -am "Packaging for release X.Y.Z"
16
+ $ git commit -am "Packaging for release vX.Y.Z"
17
17
  ```
18
18
 
19
19
  6. Push out the changes
@@ -21,7 +21,7 @@
21
21
  $ git push -u origin release_X_Y_Z
22
22
  ```
23
23
 
24
- 7. Open a PR for the branch, get necessary approvals from code owners and merge into main branch
24
+ 7. Open a PR for the branch, get necessary approvals from code owners and merge into main branch. Note that the PR title will be the release note in Shipit, so make sure it mentions the release
25
25
 
26
26
  8. Deploy using Shipit
27
27
 
@@ -34,8 +34,8 @@
34
34
  10. Clone the `Shopify/homebrew-shopify` repository (if not already cloned), and then
35
35
  * create a branch named `release_X_Y_Z_of_shopify-cli`
36
36
  * update the brew formula in `shopify-cli.rb` with the generated formula in `packaging/builds/X.Y.Z/` in the `Shopify/shopify-app-cli` repo (from step 9)
37
- * commit the change and create a PR
38
- * when PR is approved, merge into main branch of `Shopify/homebrew-shopify` repository
37
+ * commit the change and create a PR on the [Shopify Homebrew repository](https://github.com/Shopify/homebrew-shopify)
38
+ * when PR is approved, merge into main branch
39
39
 
40
40
  11. Go to [releases](https://github.com/Shopify/shopify-app-cli/releases) page of `Shopify/shopify-app-cli` repo and create a new release:
41
41
  * use the tag created in step 8 by Shipit (should be "vX.Y.Z")
@@ -14,3 +14,6 @@ defaults:
14
14
  path: ""
15
15
  values:
16
16
  toc: true
17
+
18
+ plugins:
19
+ - jekyll-redirect-from
@@ -5,6 +5,15 @@ sidebar:
5
5
  - title: Getting started
6
6
  section: getting-started
7
7
  url: /getting-started/
8
+ subnav:
9
+ - title: Install
10
+ url: /getting-started/install/
11
+ - title: Upgrade
12
+ url: /getting-started/upgrade/
13
+ - title: Uninstall
14
+ url: /getting-started/uninstall/
15
+ - title: Migrate from a legacy version
16
+ url: /getting-started/migrate/
8
17
  - title: Core commands
9
18
  section: core
10
19
  url: /core/
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  title: Getting started
3
3
  section: getting-started
4
+ toc: false
4
5
  ---
5
6
 
6
7
  Developers should have some prior knowledge of the [Shopify app ecosystem](https://shopify.dev/concepts/apps). Shopify App CLI creates apps using either [Node.js](https://nodejs.org/) or [Ruby on Rails](https://rubyonrails.org/).
@@ -8,11 +9,8 @@ Developers should have some prior knowledge of the [Shopify app ecosystem](https
8
9
  ## Requirements
9
10
 
10
11
  - [Ruby](https://www.ruby-lang.org) 2.5.1+
11
- - [Node.js](https://nodejs.org) 10.0.0+
12
- - [curl](https://curl.haxx.se)
13
12
  - A [Shopify partner account](https://partners.shopify.com/signup)
14
13
  - A [Shopify development store](https://help.shopify.com/en/partners/dashboard/development-stores#create-a-development-store) to install and test apps
15
- - An [ngrok](https://ngrok.com/) account (free or paid) for local development
16
14
 
17
15
  ### Windows requirements
18
16
 
@@ -21,41 +19,8 @@ You’ll need to install the following tools to use Shopify App CLI on Windows:
21
19
  - [Linux Subsystem for Windows](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
22
20
  - [Ubuntu VM](https://www.microsoft.com/en-ca/p/ubuntu/9nblggh4msv6)
23
21
 
24
- ## Install
22
+ ## Next steps
25
23
 
26
- Shopify App CLI installs using a shell script. Download and run it in your terminal with one command:
27
-
28
- ```console
29
- eval "$(curl -sS https://raw.githubusercontent.com/Shopify/shopify-app-cli/master/install.sh)"
30
- ```
31
-
32
- [View shell script source](https://raw.githubusercontent.com/Shopify/shopify-app-cli/master/install.sh)
33
-
34
-
35
- ## Uninstall
36
-
37
- There are two steps to completely uninstall Shopify App CLI:
38
-
39
- 1. Delete the CLI files
40
- 1. Remove the `shopify` command from your shell profile
41
-
42
- ### 1. Delete the CLI files
43
-
44
- By default, Shopify App CLI is installed in your home directory. All the files are contained in a hidden directory called `.shopify-app-cli`. Delete that directory to uninstall.
45
-
46
- ### 2. Remove the `shopify` command from your shell
47
-
48
- During the install process, Shopify App CLI adds a line to your shell configuration. This line is typically located in the `.bash_profile` file in your home directory (depending on your system, it may also be found in `.bash_login` or `.profile`). It will look similar to this:
49
-
50
- ```sh
51
- # The line won’t look exactly like this. `HOME_DIR` will instead be the absolute path to your home directory.
52
- if [[ -f /HOME_DIR/.shopify-cli/shopify.sh ]]; then source /HOME_DIR/.shopify-cli/shopify.sh; fi
53
- ```
54
-
55
- You can use `grep` to search for the correct file in your home directory. This command will return the name of the relevant file, and the line number where it appears:
56
-
57
- ```console
58
- $ grep -Ens "^if.+\.shopify-app-cli/shopify\.sh.+fi$" ~/\.*
59
- ```
60
-
61
- Deleting or commenting out the relevant line in your shell profile will remove `shopify` as a command. You may need to reload your shell.
24
+ - [Install the CLI]({{ site.baseurl }}/getting-started/install/)
25
+ - [Upgrade]({{ site.baseurl }}/getting-started/upgrade/)
26
+ - [Uninstall]({{ site.baseurl }}/getting-started/uninstall/)
@@ -0,0 +1,75 @@
1
+ ---
2
+ title: Install Shopify App CLI
3
+ section: getting-started
4
+ toc: false
5
+ redirect_from: "/install/"
6
+ ---
7
+
8
+ Shopify App CLI can be installed using a variety of package managers.
9
+
10
+ ### Homebrew (macOS)
11
+
12
+ You’ll need to run `brew tap` first to add Shopify’s third-party repositories to Homebrew.
13
+
14
+ ```console
15
+ $ brew tap shopify/shopify
16
+ $ brew install shopify-cli
17
+ ```
18
+
19
+ ### apt (Debian, Ubuntu)
20
+
21
+ You’ll need to install a downloaded .deb file with an explicit version number. Check the [releases page](https://github.com/Shopify/shopify-app-cli/releases) to make sure you install the latest package.
22
+
23
+ ```console
24
+ $ sudo apt install shopify-cli-x.y.z.deb
25
+ ```
26
+
27
+ ### yum (CentOS 8+, Fedora, Red Hat, SUSE)
28
+
29
+ You’ll need to install a downloaded .rpm file with an explicit version number. Check the [releases page](https://github.com/Shopify/shopify-app-cli/releases) to make sure you install the latest package.
30
+
31
+ ```console
32
+ $ sudo yum install shopify-cli-x.y.x.rpm
33
+ ```
34
+
35
+ ### Ruby gem
36
+
37
+ ```console
38
+ $ gem install shopify-cli
39
+ ```
40
+
41
+ ### To check that Shopify App CLI is installed correctly:
42
+
43
+ ```console
44
+ $ shopify version
45
+ 1.0.0
46
+ $
47
+ ```
48
+
49
+ > Note 1: the version displayed may be newer.
50
+
51
+ > Note 2: If you have the `shopify_api` gem installed, you may see the following response:
52
+ > ```console
53
+ > shopify command is no longer bundled with shopify_api.
54
+ > if you need these tools, install the shopify_cli gem
55
+ > ```
56
+ >
57
+ > If so, then you will also need to upgrade the `shopify_api` gem to v9.2.0+ to remove a deprecated `shopify` command that is contained in that gem.
58
+ >
59
+ > If you also have the `shopify_app` gem (which depends on `shopify_api` gem), you'll need to install or update `shopify_api` first, then uninstall the older version.
60
+ >
61
+ > To get a list of the version(s) of `shopify_api` currently installed:
62
+ > ```console
63
+ > $ gem list shopify_api
64
+ > ```
65
+ >
66
+ > To install the latest version:
67
+ > ```console
68
+ > $ gem install shopify_api
69
+ > ```
70
+ >
71
+ > To uninstall the older version:
72
+ > ```console
73
+ > $ gem uninstall shopify_api -v x.y.z
74
+ > ```
75
+ > Replace x.y.z with a version number listed from the `gem list` command. Repeat as needed.
@@ -0,0 +1,96 @@
1
+ ---
2
+ title: Migrate from the legacy Shopify App CLI
3
+ section: getting-started
4
+ redirect_from: "/migrate/"
5
+ ---
6
+
7
+ As of version 0.9.0, Shopify App CLI is installed and managed as a software package, instead of as a git repository. If you’re using a legacy version, you’ll need to perform a one-time migration to keep using the CLI. Follow these steps to remove the legacy version and reinstall as a package.
8
+
9
+ ## Check whether you’re using the legacy version
10
+
11
+ Prior to version 0.9.0, Shopify App CLI was installed as a Git repository. You can determine if you’re running a legacy version by running this command:
12
+
13
+ ```console
14
+ $ shopify version
15
+ ```
16
+
17
+ If you get a “Command not found” error, then you’re using a legacy version and will need to uninstall it manually.
18
+
19
+ ## 1. Uninstall the legacy Shopify App CLI
20
+
21
+ There are two steps to completely uninstall the legacy version of Shopify App CLI:
22
+
23
+ 1. Delete the legacy CLI files
24
+ 1. Remove the legacy `shopify` command from your shell profile
25
+ 1. Reload your terminal
26
+
27
+ ### 1. Delete the CLI files
28
+
29
+ By default, Shopify App CLI was installed in your home directory. All the files are contained in a hidden directory called `.shopify-app-cli`. Delete it to uninstall:
30
+
31
+ ```console
32
+ $ rm -rf ~/.shopify-app-cli/
33
+ ```
34
+
35
+ ### 2. Remove the `shopify` command from your shell
36
+
37
+ During the install process, Shopify App CLI added a line to your shell configuration. This line could be located in one of a few possible files in your home directory:
38
+
39
+ - `~/.bash_profile`
40
+ - `~/.zshrc`
41
+ - `~/.bash_login`
42
+ - `~/.profile`
43
+ - `~/.config/fish/config.fish`
44
+
45
+ It will look similar to one of the lines below. The exact syntax may vary depending on your system:
46
+
47
+ ```sh
48
+ # The line won’t look *exactly* like this. `HOME_DIR` will instead be the absolute path to your home directory.
49
+ if [[ -f /HOME_DIR/.shopify-cli/shopify.sh ]]; then source /HOME_DIR/.shopify-cli/shopify.sh; fi
50
+
51
+ # The line might not be wrapped in an `if` statement. Example:
52
+ [ -f "/HOME_DIR/.shopify-app-cli/shopify.sh" ] && source "/HOME_DIR/.shopify-app-cli/shopify.sh"
53
+ ```
54
+
55
+ Deleting or commenting out the relevant line in your shell profile will remove `shopify` as a command.
56
+
57
+ ### 3. Reload your terminal
58
+
59
+ For the changes above to take effect, exit your terminal, and start a new one.
60
+
61
+ If you try running `shopify` now, you should get a `command not found` error.
62
+
63
+ > If you have the `shopify_api` gem installed, you may see the following response:
64
+ > ```console
65
+ > shopify command is no longer bundled with shopify_api.
66
+ > if you need these tools, install the shopify_cli gem
67
+ > ```
68
+ >
69
+ > If so, then you will also need to upgrade the `shopify_api` gem to v9.2.0+ to remove a deprecated `shopify` command that is contained in that gem.
70
+ >
71
+ > If you also have the `shopify_app` gem (which depends on `shopify_api` gem), you'll need to install or update `shopify_api` first, then uninstall the older version.
72
+ >
73
+ > To get a list of the version(s) of `shopify_api` currently installed:
74
+ > ```console
75
+ > $ gem list shopify_api
76
+ > ```
77
+ >
78
+ > To install the latest version:
79
+ > ```console
80
+ > $ gem install shopify_api
81
+ > ```
82
+ >
83
+ > To uninstall the older version:
84
+ > ```console
85
+ > $ gem uninstall shopify_api -v x.y.z
86
+ > ```
87
+ > Replace x.y.z with a version number listed from the `gem list` command. Repeat as needed.
88
+
89
+ ## 2. Install the new version
90
+
91
+ Next, install the most recent version of Shopify App CLI. Follow the [install directions]({{ site.baseurl }}/getting-started/install/) for your platform.
92
+
93
+ ## 3. Re-authenticate the CLI
94
+
95
+ The migration process moves some configuration files, so you’ll need to re-authenticate the CLI with your Shopify Partner Dashboard. The CLI will automatically prompt you to re-authenticate when needed.
96
+
@@ -0,0 +1,37 @@
1
+ ---
2
+ title: Uninstall Shopify App CLI
3
+ section: getting-started
4
+ toc: false
5
+ redirect_from: "/uninstall/"
6
+ ---
7
+
8
+ Shopify App CLI can be removed from your system using the same package manager you used to install it.
9
+
10
+ ### Homebrew (macOS)
11
+
12
+ ```console
13
+ $ brew uninstall shopify-cli
14
+ ```
15
+
16
+ ### apt (Debian, Ubuntu)
17
+
18
+ ```console
19
+ $ sudo apt remove shopify-cli
20
+ ```
21
+
22
+ ### yum (CentOS 8+, Fedora, Red Hat, SUSE)
23
+
24
+ ```console
25
+ $ sudo yum remove shopify-cli
26
+ ```
27
+
28
+ ### Ruby gem
29
+
30
+ ```console
31
+ $ gem uninstall shopify-cli
32
+ ```
33
+
34
+ ## Uninstall a legacy version
35
+
36
+ If you’re using a legacy version of the CLI (`<0.9.0`), you’ll need to [uninstall it manually]({{ site.baseurl }}/getting-started/migrate/#1-uninstall-the-old-cli).
37
+
@@ -0,0 +1,37 @@
1
+ ---
2
+ title: Upgrade Shopify App CLI
3
+ section: getting-started
4
+ toc: false
5
+ redirect_from: "/upgrade/"
6
+ ---
7
+
8
+ You can manage upgrades to Shopify App CLI with the package manager for your platform.
9
+
10
+ ### Homebrew (macOS)
11
+
12
+ ```console
13
+ $ brew update
14
+ $ brew upgrade shopify-cli
15
+ ```
16
+
17
+ ### apt (Debian, Ubuntu)
18
+
19
+ On Debian-based Linux distributions, download the latest `.deb` file for Shopify App CLI from the [releases page](https://github.com/Shopify/shopify-app-cli/releases) and install it to update.
20
+
21
+ ```console
22
+ $ sudo apt install shopify-cli-x.y.z.deb
23
+ ```
24
+
25
+ ### yum (CentOS 8+, Fedora, Red Hat, SUSE)
26
+
27
+ On Red Hat–based Linux distributions, download the latest `.rpm` file for Shopify App CLI from the [releases page](https://github.com/Shopify/shopify-app-cli/releases) and install it to update.
28
+
29
+ ```console
30
+ $ sudo yum install shopify-cli-x.y.z.rpm
31
+ ```
32
+
33
+ ### Ruby gem
34
+
35
+ ```console
36
+ $ gem update shopify-cli
37
+ ```
@@ -10,18 +10,17 @@ Shopify App CLI helps you build Shopify apps faster. It quickly scaffolds Node.j
10
10
 
11
11
  ## Quick start
12
12
 
13
- 1. Install Shopify App CLI:
14
- ```console
15
- $ eval "$(curl -sS https://raw.githubusercontent.com/Shopify/shopify-app-cli/master/install.sh)"
16
- ```
13
+ 1. [Install Shopify App CLI]({{ site.baseurl }}{% link getting-started/install/index.md %}).
17
14
  2. Create an app:
18
15
  ```console
19
16
  $ shopify create
20
17
  ```
21
- 3. Start and install your app on a Shopify Development store:
18
+ 3. Start and install your app on a Shopify development store:
22
19
  ```console
23
20
  $ shopify serve
24
21
  ```
25
22
  ```console
26
23
  $ shopify open
27
- ```
24
+ ```
25
+
26
+ **[Learn more in our Getting Started guide]({{ site.baseurl }}{% link getting-started/index.md %})**
@@ -30,6 +30,7 @@ module Extension
30
30
  module Tasks
31
31
  autoload :UserErrors, Project.project_filepath('tasks/user_errors')
32
32
  autoload :GetApps, Project.project_filepath('tasks/get_apps')
33
+ autoload :GetApp, Project.project_filepath('tasks/get_app')
33
34
  autoload :CreateExtension, Project.project_filepath('tasks/create_extension')
34
35
  autoload :UpdateDraft, Project.project_filepath('tasks/update_draft')
35
36
 
@@ -37,6 +38,7 @@ module Extension
37
38
  autoload :RegistrationConverter, Project.project_filepath('tasks/converters/registration_converter')
38
39
  autoload :VersionConverter, Project.project_filepath('tasks/converters/version_converter')
39
40
  autoload :ValidationErrorConverter, Project.project_filepath('tasks/converters/validation_error_converter')
41
+ autoload :AppConverter, Project.project_filepath('tasks/converters/app_converter')
40
42
  end
41
43
  end
42
44
 
@@ -51,7 +53,6 @@ module Extension
51
53
  autoload :ArgoSetupStep, Project.project_filepath('features/argo_setup_step')
52
54
  autoload :ArgoSetupSteps, Project.project_filepath('features/argo_setup_steps')
53
55
  autoload :ArgoDependencies, Project.project_filepath('features/argo_dependencies')
54
- autoload :TunnelUrl, Project.project_filepath('features/tunnel_url')
55
56
  end
56
57
 
57
58
  module Models