Class: Theme::Command::Check::Options

Inherits:
ShopifyCLI::Options show all
Defined in:
lib/project_types/theme/commands/check.rb

Instance Attribute Summary

Attributes inherited from ShopifyCLI::Options

#flags, #help, #subcommand

Instance Method Summary collapse

Methods inherited from ShopifyCLI::Options

#parse_flags, #parser

Constructor Details

#initialize(theme_check) ⇒ Options

Returns a new instance of Options.



10
11
12
13
# File 'lib/project_types/theme/commands/check.rb', line 10

def initialize(theme_check)
  super()
  @theme_check = theme_check
end

Instance Method Details

#parse(_options_block, args) ⇒ Object



15
16
17
# File 'lib/project_types/theme/commands/check.rb', line 15

def parse(_options_block, args)
  @theme_check.parse(args)
end