shopify-cli 0.9.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.github/CODEOWNERS +3 -0
  3. data/CHANGELOG.md +26 -0
  4. data/{LICENSE.md → LICENSE} +0 -0
  5. data/RELEASING.md +51 -0
  6. data/Rakefile +1 -6
  7. data/docs/_config.yml +3 -0
  8. data/docs/_data/nav.yml +9 -0
  9. data/docs/getting-started/index.md +5 -40
  10. data/docs/getting-started/install/index.md +39 -0
  11. data/docs/getting-started/migrate/index.md +63 -0
  12. data/docs/getting-started/uninstall/index.md +37 -0
  13. data/docs/getting-started/upgrade/index.md +37 -0
  14. data/docs/index.md +5 -6
  15. data/lib/project_types/extension/cli.rb +2 -1
  16. data/lib/project_types/extension/commands/tunnel.rb +1 -1
  17. data/lib/project_types/extension/forms/register.rb +2 -3
  18. data/lib/project_types/extension/graphql/get_app_by_api_key.graphql +9 -0
  19. data/lib/project_types/extension/tasks/converters/app_converter.rb +27 -0
  20. data/lib/project_types/extension/tasks/get_app.rb +22 -0
  21. data/lib/project_types/extension/tasks/get_apps.rb +1 -6
  22. data/lib/project_types/node/forms/create.rb +3 -54
  23. data/lib/project_types/node/messages/messages.rb +1 -12
  24. data/lib/project_types/rails/forms/create.rb +3 -52
  25. data/lib/project_types/rails/messages/messages.rb +0 -11
  26. data/lib/project_types/script/cli.rb +5 -5
  27. data/lib/project_types/script/commands/create.rb +5 -4
  28. data/lib/project_types/script/commands/push.rb +1 -0
  29. data/lib/project_types/script/errors.rb +1 -0
  30. data/lib/project_types/script/forms/create.rb +8 -4
  31. data/lib/project_types/script/layers/application/build_script.rb +7 -10
  32. data/lib/project_types/script/layers/application/create_script.rb +16 -14
  33. data/lib/project_types/script/layers/application/project_dependencies.rb +3 -9
  34. data/lib/project_types/script/layers/application/push_script.rb +13 -11
  35. data/lib/project_types/script/layers/infrastructure/assemblyscript_project_creator.rb +106 -0
  36. data/lib/project_types/script/layers/infrastructure/assemblyscript_task_runner.rb +64 -0
  37. data/lib/project_types/script/layers/infrastructure/errors.rb +2 -2
  38. data/lib/project_types/script/layers/infrastructure/project_creator.rb +23 -0
  39. data/lib/project_types/script/layers/infrastructure/push_package_repository.rb +5 -2
  40. data/lib/project_types/script/layers/infrastructure/script_repository.rb +7 -37
  41. data/lib/project_types/script/layers/infrastructure/task_runner.rb +18 -0
  42. data/lib/project_types/script/messages/messages.rb +5 -6
  43. data/lib/project_types/script/script_project.rb +22 -9
  44. data/lib/project_types/script/templates/ts/as-pect.d.ts +1 -0
  45. data/lib/project_types/script/ui/error_handler.rb +5 -0
  46. data/lib/shopify-cli/admin_api.rb +1 -2
  47. data/lib/shopify-cli/admin_api/populate_resource_command.rb +10 -1
  48. data/lib/shopify-cli/api.rb +2 -0
  49. data/lib/shopify-cli/context.rb +51 -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/packager.rb +17 -25
  55. data/lib/shopify-cli/tasks.rb +1 -0
  56. data/lib/shopify-cli/tasks/select_org_and_shop.rb +77 -0
  57. data/lib/shopify-cli/tunnel.rb +33 -1
  58. data/lib/shopify-cli/version.rb +1 -1
  59. data/shopify-cli.gemspec +3 -5
  60. data/vendor/deps/cli-ui/REVISION +1 -1
  61. data/vendor/deps/cli-ui/lib/cli/ui.rb +52 -11
  62. data/vendor/deps/cli-ui/lib/cli/ui/color.rb +11 -7
  63. data/vendor/deps/cli-ui/lib/cli/ui/formatter.rb +34 -21
  64. data/vendor/deps/cli-ui/lib/cli/ui/frame.rb +107 -149
  65. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_stack.rb +99 -0
  66. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style.rb +119 -0
  67. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style/box.rb +158 -0
  68. data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style/bracket.rb +112 -0
  69. data/vendor/deps/cli-ui/lib/cli/ui/glyph.rb +9 -15
  70. data/vendor/deps/cli-ui/lib/cli/ui/printer.rb +47 -0
  71. data/vendor/deps/cli-ui/lib/cli/ui/progress.rb +9 -7
  72. data/vendor/deps/cli-ui/lib/cli/ui/prompt.rb +39 -14
  73. data/vendor/deps/cli-ui/lib/cli/ui/prompt/interactive_options.rb +62 -44
  74. data/vendor/deps/cli-ui/lib/cli/ui/prompt/options_handler.rb +7 -2
  75. data/vendor/deps/cli-ui/lib/cli/ui/spinner.rb +23 -3
  76. data/vendor/deps/cli-ui/lib/cli/ui/spinner/spin_group.rb +34 -10
  77. data/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb +12 -7
  78. data/vendor/deps/cli-ui/lib/cli/ui/terminal.rb +26 -16
  79. data/vendor/deps/cli-ui/lib/cli/ui/truncater.rb +3 -3
  80. data/vendor/deps/cli-ui/lib/cli/ui/widgets.rb +75 -0
  81. data/vendor/deps/cli-ui/lib/cli/ui/widgets/base.rb +27 -0
  82. data/vendor/deps/cli-ui/lib/cli/ui/widgets/status.rb +61 -0
  83. metadata +30 -13
  84. data/lib/project_types/extension/features/tunnel_url.rb +0 -20
  85. data/lib/project_types/script/layers/infrastructure/assemblyscript_dependency_manager.rb +0 -73
  86. data/lib/project_types/script/layers/infrastructure/assemblyscript_wasm_builder.rb +0 -39
  87. data/lib/project_types/script/layers/infrastructure/dependency_manager.rb +0 -36
  88. data/lib/project_types/script/layers/infrastructure/script_builder.rb +0 -34
  89. data/lib/project_types/script/layers/infrastructure/test_suite_repository.rb +0 -59
  90. 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: 4994302e6b4675d919d6eba3f29037f6531e9d763332e688f6a4e2008a9f8785
4
- data.tar.gz: de8db4ec0be15baac70f091548861364919543c193e0c73ecf94e43ac645b9fa
3
+ metadata.gz: fa8d08ea4c9f452ea672ebe158f4e900eda442cc17aa46905d25aa53a7f3a673
4
+ data.tar.gz: 516ee988dee9309aa0e3319d576fe5fcd13065fa08b0b9a4d648fced6642d26e
5
5
  SHA512:
6
- metadata.gz: ba5c507a109d2511dc33382152f46aebbfa0ffb80d8e1f34e588730ecbead56ccc476df04d9e902120c1beecd3e69a957415e73c30b11ade137a9572f94fba73
7
- data.tar.gz: d4dcd572be32221413d30ebb28acb1a66bf8f8290a6825159c92802e149f48a93cde4dea6d5eb13a0a82e52af34c5a02403328b0e98566f0ef83078875fca942
6
+ metadata.gz: dc4c9b95106709203f6153310bdee08183b3bad45f1ff7f3512b408fabfa478391ca4e5adbfe6cc6b2aaaea655363067de9bacb39a8ff02016e5df03aa7366de
7
+ data.tar.gz: 503b6c26f1c57e65f5a22b5171faa8d9e5117c404ca02bec6a92af571cadf17f74918fd8bcf2b993100b0e09b3f20576dbeca401cbbb93c7f2355ac389bdf6ed
@@ -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
@@ -0,0 +1,26 @@
1
+ Version 1.0.1
2
+ ------
3
+ * Fixed an issue with RVM taking over the shell shim fd when it was not in use
4
+
5
+ Version 1.0.0
6
+ ------
7
+ * Release the installer-based version of the CLI
8
+
9
+ Version 0.9.3 - Internal Test Version
10
+ ------
11
+ * Rebased to master
12
+ * Removed auto-generated files from builds directory
13
+
14
+ Version 0.9.2 - Internal Test Version
15
+ ------
16
+ * Rebased to master, to pull in 7+ Pull Requests
17
+ * Updates to dependencies to package files (updated Ruby version)
18
+
19
+ Version 0.9.1 - Internal Test Version
20
+ ------
21
+ * Updated required Ruby version for the CLI
22
+ * Minor fixes for the build / release process
23
+
24
+ Version 0.9.0 - Internal Test Version
25
+ ------
26
+ * Initial test release of gem-based CLI
File without changes
@@ -0,0 +1,51 @@
1
+ ## Releasing Shopify CLI
2
+
3
+ 1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org
4
+
5
+ 2. Create a branch named `release_X_Y_Z` (replacing `X_Y_Z` with the intended release version)
6
+ ```
7
+ $ git checkout -b release_X_Y_Z
8
+ ```
9
+
10
+ 3. Update the version of Shopify CLI in `lib/shopify-cli/version.rb`
11
+
12
+ 4. Add an entry for the new release to `CHANGELOG.md`
13
+
14
+ 5. Commit the changes with a commit message like "Packaging for release X.Y.Z"
15
+ ```
16
+ $ git commit -am "Packaging for release vX.Y.Z"
17
+ ```
18
+
19
+ 6. Push out the changes
20
+ ```
21
+ $ git push -u origin release_X_Y_Z
22
+ ```
23
+
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
+
26
+ 8. Deploy using Shipit
27
+
28
+ 9. On local machine and _AFTER_ gem has been published to https://rubygems.org, run
29
+ ```
30
+ $ rake package
31
+ ```
32
+ This will generate the `.deb`, `.rpm` and brew formula files, which will be located in `packaging/builds/X.Y.Z/`.
33
+
34
+ 10. Clone the `Shopify/homebrew-shopify` repository (if not already cloned), and then
35
+ * create a branch named `release_X_Y_Z_of_shopify-cli`
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 on the [Shopify Homebrew repository](https://github.com/Shopify/homebrew-shopify)
38
+ * when PR is approved, merge into main branch
39
+
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
+ * use the tag created in step 8 by Shipit (should be "vX.Y.Z")
42
+ * release title = "Version X.Y.Z"
43
+ * description should be
44
+ ```
45
+ Release of version X.Y.Z of Shopify App CLI
46
+
47
+ Please refer to [CHANGELOG](https://github.com/Shopify/shopify-app-cli/blob/master/CHANGELOG.md) for details.
48
+ ```
49
+ * upload the `.deb` and `.rpm` files from `packaging/builds/X.Y.Z/` (generated in step 9)
50
+ * if it's a pre-release version, select the "This is a pre-release" checkbox
51
+ * and click "Publish release".
data/Rakefile CHANGED
@@ -76,11 +76,6 @@ namespace :package do
76
76
 
77
77
  task all: [:debian, :rpm, :homebrew]
78
78
 
79
- desc("Builds a gem of the CLI")
80
- task :gem do
81
- ShopifyCli::Packager.new.build_gem
82
- end
83
-
84
79
  desc("Builds a Debian package of the CLI")
85
80
  task :debian do
86
81
  ShopifyCli::Packager.new.build_debian
@@ -92,7 +87,7 @@ namespace :package do
92
87
  end
93
88
 
94
89
  desc("Builds a Homebrew package of the CLI")
95
- task :homebrew => :"package:gem" do
90
+ task :homebrew do
96
91
  ShopifyCli::Packager.new.build_homebrew
97
92
  end
98
93
  end
@@ -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,39 @@
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
+ ```
@@ -0,0 +1,63 @@
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
+
26
+ ### 1. Delete the CLI files
27
+
28
+ 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:
29
+
30
+ ```console
31
+ $ rm -rf ~/.shopify-app-cli/
32
+ ```
33
+
34
+ ### 2. Remove the `shopify` command from your shell
35
+
36
+ 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:
37
+
38
+ - `~/.bash_profile`
39
+ - `~/.zshrc`
40
+ - `~/.bash_login`
41
+ - `~/.profile`
42
+ - `~/.config/fish/config.fish`
43
+
44
+ It will look similar to one of the lines below. The exact syntax may vary depending on your system:
45
+
46
+ ```sh
47
+ # The line won’t look *exactly* like this. `HOME_DIR` will instead be the absolute path to your home directory.
48
+ if [[ -f /HOME_DIR/.shopify-cli/shopify.sh ]]; then source /HOME_DIR/.shopify-cli/shopify.sh; fi
49
+
50
+ # The line might not be wrapped in an `if` statement. Example:
51
+ [ -f "/HOME_DIR/.shopify-app-cli/shopify.sh" ] && source "/HOME_DIR/.shopify-app-cli/shopify.sh"
52
+ ```
53
+
54
+ Deleting or commenting out the relevant line in your shell profile will remove `shopify` as a command. You may need to reload your shell.
55
+
56
+ ## 2. Install the new version
57
+
58
+ Next, install the most recent version of Shopify App CLI. Follow the [install directions]({{ site.baseurl }}/getting-started/install/) for your platform.
59
+
60
+ ## 3. Re-authenticate the CLI
61
+
62
+ 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.
63
+
@@ -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
@@ -37,7 +37,7 @@ module Extension
37
37
  private
38
38
 
39
39
  def status
40
- tunnel_url = Features::TunnelUrl.fetch
40
+ tunnel_url = ShopifyCli::Tunnel.urls.first
41
41
 
42
42
  if tunnel_url.nil?
43
43
  @ctx.puts(@ctx.message('tunnel.no_tunnel_running'))