Sha256: f66fc2713895ad0cd88b63f42696b6a51f3f0f33f34dd944d078b14a08039cd7

Contents?: true

Size: 783 Bytes

Versions: 48

Compression:

Stored size: 783 Bytes

Contents

module ShopifyCLI
  module Commands
    class App
      class Create < ShopifyCLI::Command
        subcommand :Rails, "rails", "shopify_cli/commands/app/create/rails"
        subcommand :PHP, "php", "shopify_cli/commands/app/create/php"
        subcommand :Node, "node", "shopify_cli/commands/app/create/node"

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

        def self.help
          ShopifyCLI::Context.message("core.app.create.help", ShopifyCLI::TOOL_NAME, ShopifyCLI::TOOL_NAME)
        end

        def self.call_help(*)
          output = help
          if respond_to?(:extended_help)
            output += "\n"
            output += extended_help
          end
          @ctx.puts(output)
        end
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

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