Sha256: 90209719e9a12479f3342c237978d56689377c2cd730552e65a4ace02f73a185

Contents?: true

Size: 400 Bytes

Versions: 8

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true
require "shopify_cli"

module Node
  class Command
    class Generate < ShopifyCLI::SubCommand
      prerequisite_task ensure_project_type: :node

      def call(*)
        @ctx.puts(self.class.help)
      end

      def self.help
        ShopifyCLI::Context.message("node.generate.help")
      end

      def self.extended_help
        help
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shopify-cli-2.6.6 lib/project_types/node/commands/generate.rb
shopify-cli-2.6.5 lib/project_types/node/commands/generate.rb
shopify-cli-2.6.4 lib/project_types/node/commands/generate.rb
shopify-cli-2.6.3 lib/project_types/node/commands/generate.rb
shopify-cli-2.6.2 lib/project_types/node/commands/generate.rb
shopify-cli-2.6.1 lib/project_types/node/commands/generate.rb
shopify-cli-2.6.0 lib/project_types/node/commands/generate.rb
shopify-cli-2.5.0 lib/project_types/node/commands/generate.rb