Sha256: 03d87eaea01ec8a153a5e6db5c474ae5f3b60e160ed0216bafff9e206833e582
Contents?: true
Size: 464 Bytes
Versions: 20
Compression:
Stored size: 464 Bytes
Contents
require 'cli/kit' module ShopifyCli module Core class HelpResolver < CLI::Kit::Resolver def call(args) args = args.dup return super(args) unless args.first if args.first.include?('-h') || args.first.include?('--help') help = Commands::Help help.ctx = Context.new help.call([], nil) raise ShopifyCli::AbortSilent else super(args) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems