Sha256: 57b42db6dcbaa8ceea0e404cbac16bf3dc3d558cdc5b7f4fb39a624d8951e5db

Contents?: true

Size: 400 Bytes

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
shopify-cli-2.4.0 lib/project_types/node/commands/generate.rb
shopify-cli-2.3.0 lib/project_types/node/commands/generate.rb
shopify-cli-2.2.2 lib/project_types/node/commands/generate.rb
shopify-cli-2.2.1 lib/project_types/node/commands/generate.rb
shopify-cli-2.2.0 lib/project_types/node/commands/generate.rb
shopify-cli-2.1.0 lib/project_types/node/commands/generate.rb
shopify-cli-2.0.2 lib/project_types/node/commands/generate.rb
shopify-cli-2.0.1 lib/project_types/node/commands/generate.rb
shopify-cli-2.0.0 lib/project_types/node/commands/generate.rb