Sha256: fd7af090fd47012c4f6ef89b6ffe520554f1639d7ce9c496b3c0485ef019e1cf

Contents?: true

Size: 496 Bytes

Versions: 8

Compression:

Stored size: 496 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:install #{@opts.join(' ')}")
        generate("shopify_app:shop_model")
        generate("shopify_app:authenticated_controller")
        generate("shopify_app:home_controller")
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shopify_app-13.5.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-13.4.1 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-13.4.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-13.3.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-13.2.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-13.1.1 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-13.1.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-13.0.1 lib/generators/shopify_app/shopify_app_generator.rb