Sha256: 6441dec0e52ce8da3d53b991a59e3cccfb7fcc958cc72892c457c5e10e8289ae

Contents?: true

Size: 580 Bytes

Versions: 49

Compression:

Stored size: 580 Bytes

Contents

module ShopifyCLI
  module Commands
    class App
      class Connect < ShopifyCLI::Command::AppSubCommand
        def call(_args, _command_name, *)
          app_type = detect_app(directory: Dir.pwd)
          project = ShopifyCLI::Project.current

          Services::App::ConnectService.call(
            app_type: app_type,
            project: project,
            context: @ctx
          )
        end

        def self.help
          ShopifyCLI::Context.message("core.app.connect.help", ShopifyCLI::TOOL_NAME, ShopifyCLI::TOOL_NAME)
        end
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
shopify-cli-2.36.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.35.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.34.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.33.1 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.33.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.32.1 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.32.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.31.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.30.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.29.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.28.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.27.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.26.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.25.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.24.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.23.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.22.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.21.0 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.20.1 lib/shopify_cli/commands/app/connect.rb
shopify-cli-2.20.0 lib/shopify_cli/commands/app/connect.rb