shopify-cli 0.9.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -3
  3. data/docs/_config.yml +3 -0
  4. data/docs/_data/nav.yml +9 -0
  5. data/docs/getting-started/index.md +5 -40
  6. data/docs/getting-started/install/index.md +75 -0
  7. data/docs/getting-started/migrate/index.md +96 -0
  8. data/docs/getting-started/uninstall/index.md +37 -0
  9. data/docs/getting-started/upgrade/index.md +37 -0
  10. data/docs/index.md +5 -6
  11. data/lib/project_types/extension/cli.rb +3 -2
  12. data/lib/project_types/extension/commands/build.rb +1 -1
  13. data/lib/project_types/extension/commands/tunnel.rb +1 -1
  14. data/lib/project_types/extension/forms/register.rb +2 -3
  15. data/lib/project_types/extension/graphql/get_app_by_api_key.graphql +9 -0
  16. data/lib/project_types/extension/tasks/converters/app_converter.rb +27 -0
  17. data/lib/project_types/extension/tasks/get_app.rb +22 -0
  18. data/lib/project_types/extension/tasks/get_apps.rb +1 -6
  19. data/lib/project_types/node/forms/create.rb +3 -54
  20. data/lib/project_types/node/messages/messages.rb +3 -14
  21. data/lib/project_types/rails/cli.rb +0 -1
  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/disable.rb +4 -14
  27. data/lib/project_types/script/commands/enable.rb +35 -11
  28. data/lib/project_types/script/commands/push.rb +9 -9
  29. data/lib/project_types/script/config/extension_points.yml +9 -3
  30. data/lib/project_types/script/errors.rb +1 -0
  31. data/lib/project_types/script/forms/create.rb +8 -4
  32. data/lib/project_types/script/forms/script_form.rb +5 -2
  33. data/lib/project_types/script/layers/application/create_script.rb +14 -20
  34. data/lib/project_types/script/layers/application/disable_script.rb +9 -7
  35. data/lib/project_types/script/layers/application/enable_script.rb +11 -9
  36. data/lib/project_types/script/layers/application/project_dependencies.rb +0 -5
  37. data/lib/project_types/script/layers/application/push_script.rb +6 -4
  38. data/lib/project_types/script/layers/infrastructure/assemblyscript_project_creator.rb +106 -0
  39. data/lib/project_types/script/layers/infrastructure/assemblyscript_task_runner.rb +2 -2
  40. data/lib/project_types/script/layers/infrastructure/errors.rb +2 -1
  41. data/lib/project_types/script/layers/infrastructure/project_creator.rb +23 -0
  42. data/lib/project_types/script/layers/infrastructure/push_package_repository.rb +1 -1
  43. data/lib/project_types/script/layers/infrastructure/script_repository.rb +1 -34
  44. data/lib/project_types/script/layers/infrastructure/script_service.rb +2 -0
  45. data/lib/project_types/script/messages/messages.rb +21 -25
  46. data/lib/project_types/script/script_project.rb +8 -4
  47. data/lib/project_types/script/templates/ts/as-pect.config.js +6 -0
  48. data/lib/project_types/script/templates/ts/as-pect.d.ts +1 -0
  49. data/lib/project_types/script/ui/error_handler.rb +9 -0
  50. data/lib/project_types/script/ui/printing_spinner.rb +75 -0
  51. data/lib/shopify-cli/admin_api.rb +1 -2
  52. data/lib/shopify-cli/admin_api/populate_resource_command.rb +10 -1
  53. data/lib/shopify-cli/admin_api/schema.rb +20 -8
  54. data/lib/shopify-cli/command.rb +2 -5
  55. data/lib/shopify-cli/commands.rb +1 -0
  56. data/lib/shopify-cli/commands/config.rb +44 -0
  57. data/lib/shopify-cli/commands/connect.rb +17 -10
  58. data/lib/shopify-cli/commands/create.rb +1 -1
  59. data/lib/shopify-cli/commands/help.rb +1 -1
  60. data/lib/shopify-cli/commands/system.rb +1 -1
  61. data/lib/shopify-cli/context.rb +10 -1
  62. data/lib/shopify-cli/core.rb +0 -1
  63. data/lib/shopify-cli/core/entry_point.rb +6 -0
  64. data/lib/shopify-cli/core/finalize.rb +13 -0
  65. data/lib/shopify-cli/feature.rb +97 -0
  66. data/lib/shopify-cli/messages/messages.rb +45 -2
  67. data/lib/shopify-cli/partners_api/organizations.rb +7 -7
  68. data/lib/shopify-cli/project_type.rb +2 -5
  69. data/lib/shopify-cli/tasks.rb +1 -0
  70. data/lib/shopify-cli/tasks/ensure_env.rb +0 -1
  71. data/lib/shopify-cli/tasks/select_org_and_shop.rb +77 -0
  72. data/lib/shopify-cli/tasks/update_dashboard_urls.rb +4 -3
  73. data/lib/shopify-cli/tunnel.rb +66 -10
  74. data/lib/shopify-cli/version.rb +1 -1
  75. data/lib/shopify_cli.rb +1 -0
  76. data/vendor/deps/cli-ui/REVISION +1 -1
  77. data/vendor/deps/cli-ui/lib/cli/ui.rb +52 -11
  78. data/vendor/deps/cli-ui/lib/cli/ui/color.rb +11 -7
  79. data/vendor/deps/cli-ui/lib/cli/ui/formatter.rb +34 -21
  80. data/vendor/deps/cli-ui/lib/cli/ui/frame.rb +107 -149
  81. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_stack.rb +99 -0
  82. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style.rb +119 -0
  83. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style/box.rb +158 -0
  84. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style/bracket.rb +112 -0
  85. data/vendor/deps/cli-ui/lib/cli/ui/glyph.rb +9 -15
  86. data/vendor/deps/cli-ui/lib/cli/ui/printer.rb +47 -0
  87. data/vendor/deps/cli-ui/lib/cli/ui/progress.rb +9 -7
  88. data/vendor/deps/cli-ui/lib/cli/ui/prompt.rb +39 -14
  89. data/vendor/deps/cli-ui/lib/cli/ui/prompt/interactive_options.rb +62 -44
  90. data/vendor/deps/cli-ui/lib/cli/ui/prompt/options_handler.rb +7 -2
  91. data/vendor/deps/cli-ui/lib/cli/ui/spinner.rb +23 -3
  92. data/vendor/deps/cli-ui/lib/cli/ui/spinner/spin_group.rb +34 -10
  93. data/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb +12 -7
  94. data/vendor/deps/cli-ui/lib/cli/ui/terminal.rb +26 -16
  95. data/vendor/deps/cli-ui/lib/cli/ui/truncater.rb +3 -3
  96. data/vendor/deps/cli-ui/lib/cli/ui/widgets.rb +75 -0
  97. data/vendor/deps/cli-ui/lib/cli/ui/widgets/base.rb +27 -0
  98. data/vendor/deps/cli-ui/lib/cli/ui/widgets/status.rb +61 -0
  99. metadata +25 -9
  100. data/lib/project_types/extension/features/tunnel_url.rb +0 -20
  101. data/lib/project_types/script/forms/enable.rb +0 -24
  102. data/lib/project_types/script/forms/push.rb +0 -19
  103. data/lib/project_types/script/layers/infrastructure/assemblyscript_dependency_manager.rb +0 -51
  104. data/lib/project_types/script/layers/infrastructure/dependency_manager.rb +0 -36
  105. data/lib/project_types/script/layers/infrastructure/test_suite_repository.rb +0 -62
  106. 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: c2b12fdb1aec476c1b05eee2e33817d3636f76927d4cdc5700347344b687e28d
4
- data.tar.gz: 83411b72925dbe120a4c89fa1d715f3fe61a7596ed4d356f03b537ea6bb31481
3
+ metadata.gz: 2311f814efc977b70f6a1e4541e4e7a2daf627a900397a08d1868eaedbd17ba8
4
+ data.tar.gz: be52f7301fcdd6f8ab377209dc50d587bbf9bfcbd7f7cc461fba702c59a1620f
5
5
  SHA512:
6
- metadata.gz: 3557bcc2a93f0775a294b0c2d1c784949e84602155de21d3d3db89237ae7e50bbf3ba591bdc329ca6074ae27178444c6c939cd42ac361dcb5a9d50a9de4e8567
7
- data.tar.gz: 78ebf53316d6bebf24bb04832a5b052512d46df48f9f71cc3f388305c6210cd0ec32b2f1ba9151cd80d8199a26142c8684775f93198d7d9b61bf1291d1d39732
6
+ metadata.gz: 8c1a078a7e1a78d8616fd6f0ff3dfdf52a635a756f62eb897d8a14da59ba14162a9c83e4f0384ea5ad240efaf649b3f55812b345a9a334ca9de713730d6e1c0f
7
+ data.tar.gz: f8d4cd3489a73d5ea9fe29f57b4687cecaf60ed3440334c2b85e726ac18621036968f8141e5dc0fe91ef2995000cf77ccf7025d3667a27c6b77c83b704690b61
@@ -1,13 +1,34 @@
1
- Version 0.9.2
1
+ Version 1.0.3
2
+ ------
3
+ * Fix a bug which causes an error in the `populate` and `generate` commands when prompting for the shop name
4
+
5
+ Version 1.0.2
6
+ ------
7
+ * Fix missing shop parameter to AdminAPI.query() call (impacting populate and generate commands)
8
+
9
+ Version 1.0.1
10
+ ------
11
+ * Fixed an issue with RVM taking over the shell shim fd when it was not in use
12
+
13
+ Version 1.0.0
14
+ ------
15
+ * Release the installer-based version of the CLI
16
+
17
+ Version 0.9.3 - Internal Test Version
18
+ ------
19
+ * Rebased to master
20
+ * Removed auto-generated files from builds directory
21
+
22
+ Version 0.9.2 - Internal Test Version
2
23
  ------
3
24
  * Rebased to master, to pull in 7+ Pull Requests
4
25
  * Updates to dependencies to package files (updated Ruby version)
5
26
 
6
- Version 0.9.1
27
+ Version 0.9.1 - Internal Test Version
7
28
  ------
8
29
  * Updated required Ruby version for the CLI
9
30
  * Minor fixes for the build / release process
10
31
 
11
- Version 0.9.0
32
+ Version 0.9.0 - Internal Test Version
12
33
  ------
13
34
  * Initial test release of gem-based CLI
@@ -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 %})**
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Extension
4
4
  class Project < ShopifyCli::ProjectType
5
- hidden_project_type
5
+ hidden_feature
6
6
  creator 'App Extension', 'Extension::Commands::Create'
7
7
 
8
8
  register_command('Extension::Commands::Build', "build")
@@ -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