Sha256: 2adf15b87a2babcb6b81f182a7f412f017c8e3a3b6c9f1d50b89da6167b7ce4b
Contents?: true
Size: 689 Bytes
Versions: 9
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
9 entries across 9 versions & 1 rubygems