Sha256: 825edbebbbbe6ec008884407f525d9b2262768970578ac422e532e5192f7439b

Contents?: true

Size: 685 Bytes

Versions: 9

Compression:

Stored size: 685 Bytes

Contents

require "shopify_cli"

module ShopifyCli
  module Commands
    class Populate < ShopifyCli::Command
      subcommand :Customer, "customers", "shopify-cli/commands/populate/customer"
      subcommand :DraftOrder, "draftorders", "shopify-cli/commands/populate/draft_order"
      subcommand :Product, "products", "shopify-cli/commands/populate/product"

      def call(_args, _name)
        @ctx.puts(self.class.help)
      end

      def self.help
        ShopifyCli::Context.message("core.populate.help", ShopifyCli::TOOL_NAME)
      end

      def self.extended_help
        ShopifyCli::Context.message("core.populate.extended_help", ShopifyCli::TOOL_NAME)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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