Sha256: e4f7446de64d536478502c2704dd89f97b04d358445a9b965f3dfe32f8b8ae99

Contents?: true

Size: 721 Bytes

Versions: 20

Compression:

Stored size: 721 Bytes

Contents

require 'shopify_cli'

module Node
  module Commands
    class Populate < ShopifyCli::Command
      subcommand :Customer, 'customers', Project.project_filepath('commands/populate/customer')
      subcommand :DraftOrder, 'draftorders', Project.project_filepath('commands/populate/draft_order')
      subcommand :Product, 'products', Project.project_filepath('commands/populate/product')

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

      def self.help
        ShopifyCli::Context.message('node.populate.help', ShopifyCli::TOOL_NAME)
      end

      def self.extended_help
        ShopifyCli::Context.message('node.populate.extended_help', ShopifyCli::TOOL_NAME)
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
shopify-cli-1.6.0 lib/project_types/node/commands/populate.rb
shopify-cli-1.5.0 lib/project_types/node/commands/populate.rb
shopify-cli-1.4.1 lib/project_types/node/commands/populate.rb
shopify-cli-1.4.0 lib/project_types/node/commands/populate.rb
shopify-cli-1.3.1 lib/project_types/node/commands/populate.rb
shopify-cli-1.3.0 lib/project_types/node/commands/populate.rb
shopify-cli-1.2.0 lib/project_types/node/commands/populate.rb
shopify-cli-1.1.2 lib/project_types/node/commands/populate.rb
shopify-cli-1.1.1 lib/project_types/node/commands/populate.rb
shopify-cli-1.1.0 lib/project_types/node/commands/populate.rb
shopify-cli-1.0.5 lib/project_types/node/commands/populate.rb
shopify-cli-1.0.4 lib/project_types/node/commands/populate.rb
shopify-cli-1.0.3 lib/project_types/node/commands/populate.rb
shopify-cli-1.0.2 lib/project_types/node/commands/populate.rb
shopify-cli-1.0.1 lib/project_types/node/commands/populate.rb
shopify-cli-1.0.0 lib/project_types/node/commands/populate.rb
shopify-cli-0.9.3 lib/project_types/node/commands/populate.rb
shopify-cli-0.9.2 lib/project_types/node/commands/populate.rb
shopify-cli-0.9.1 lib/project_types/node/commands/populate.rb
shopify-cli-0.9.0 lib/project_types/node/commands/populate.rb