Sha256: fef397c1936f2e84435300b07bbea975e936105945a6a8e98eef3409210c9082

Contents?: true

Size: 685 Bytes

Versions: 57

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

57 entries across 57 versions & 1 rubygems

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