Sha256: d4ffb2dd3e99f15021a63a2727f17095a8589afb8ba7dd1234c0664197678866

Contents?: true

Size: 640 Bytes

Versions: 14

Compression:

Stored size: 640 Bytes

Contents

# frozen_string_literal: true

module ShopifyApp
  module Generators
    class ShopifyAppGenerator < Rails::Generators::Base
      def initialize(args, *options)
        @opts = options.first
        super(args, *options)
      end

      def run_all_generators
        generate("shopify_app:add_app_uninstalled_job")
        generate("shopify_app:add_privacy_jobs")
        generate("shopify_app:install #{@opts.join(" ")}")
        generate("shopify_app:shop_model #{@opts.join(" ")}")
        generate("shopify_app:authenticated_controller")
        generate("shopify_app:home_controller #{@opts.join(" ")}")
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
shopify_app-22.5.1 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-22.5.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-22.4.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-22.3.1 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-22.3.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-22.2.1 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-22.2.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-22.1.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-22.0.1 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-22.00.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-21.10.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-21.9.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-21.8.1 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-21.8.0 lib/generators/shopify_app/shopify_app_generator.rb