Sha256: a988b8b6989158f18000a7358efb41b0aaf896608bae9c75b363e4951ab3f378
Contents?: true
Size: 689 Bytes
Versions: 8
Compression:
Stored size: 689 Bytes
Contents
# frozen_string_literal: true require "theme_check" module Theme class Command class Check < ShopifyCLI::SubCommand class Options < ShopifyCLI::Options def initialize(theme_check) super() @theme_check = theme_check end def parse(_options_block, args) @theme_check.parse(args) end end def initialize(*) super @theme_check = ThemeCheck::Cli.new self.options = Options.new(@theme_check) end def call(*) @theme_check.run end def self.help ShopifyCLI::Context.message("theme.check.help", ShopifyCLI::TOOL_NAME) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems