Sha256: aa00a5b5e1c12b39a0ce921eca4d4dba069e3b9b2bf2b5880b43925fded73c71

Contents?: true

Size: 355 Bytes

Versions: 49

Compression:

Stored size: 355 Bytes

Contents

module ShopifyCLI
  class ProjectCommand < 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

49 entries across 49 versions & 1 rubygems

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