Sha256: 5d4064ffe9ddae30831b2a250a3f05f3404785d449377735028fbb763f5da8d4

Contents?: true

Size: 356 Bytes

Versions: 8

Compression:

Stored size: 356 Bytes

Contents

module ShopifyCLI
  class ProjectCommands < Command
    def call(*)
      @ctx.puts(self.class.help)
    end

    def self.help
      project_type = name.split("::")[0].downcase
      ShopifyCLI::Context.message(
        "#{project_type}.help",
        ShopifyCLI::TOOL_NAME,
        subcommand_registry.command_names.join(" | ")
      )
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shopify-cli-2.6.6 lib/shopify_cli/project_commands.rb
shopify-cli-2.6.5 lib/shopify_cli/project_commands.rb
shopify-cli-2.6.4 lib/shopify_cli/project_commands.rb
shopify-cli-2.6.3 lib/shopify_cli/project_commands.rb
shopify-cli-2.6.2 lib/shopify_cli/project_commands.rb
shopify-cli-2.6.1 lib/shopify_cli/project_commands.rb
shopify-cli-2.6.0 lib/shopify_cli/project_commands.rb
shopify-cli-2.5.0 lib/shopify_cli/project_commands.rb