Sha256: 7fb62d6ef91b3c795525d8aaa4176cd0ba86a0bebe328f9e0be864fd6a142315

Contents?: true

Size: 366 Bytes

Versions: 11

Compression:

Stored size: 366 Bytes

Contents

require "shopify_cli"

module Node
  module Commands
    class Open < ShopifyCli::Command
      def call(*)
        project = ShopifyCli::Project.current
        @ctx.open_url!("#{project.env.host}/auth?shop=#{project.env.shop}")
      end

      def self.help
        ShopifyCli::Context.message("node.open.help", ShopifyCli::TOOL_NAME)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shopify-cli-1.14.0 lib/project_types/node/commands/open.rb
shopify-cli-1.13.1 lib/project_types/node/commands/open.rb
shopify-cli-1.13.0 lib/project_types/node/commands/open.rb
shopify-cli-1.12.0 lib/project_types/node/commands/open.rb
shopify-cli-1.11.0 lib/project_types/node/commands/open.rb
shopify-cli-1.10.0 lib/project_types/node/commands/open.rb
shopify-cli-1.9.1 lib/project_types/node/commands/open.rb
shopify-cli-1.9.0 lib/project_types/node/commands/open.rb
shopify-cli-1.8.0 lib/project_types/node/commands/open.rb
shopify-cli-1.7.1 lib/project_types/node/commands/open.rb
shopify-cli-1.7.0 lib/project_types/node/commands/open.rb