Sha256: 745d8a7978e3c69cb38aae7f8268ac918ede4512ad7638f3ee0beb85ad0653a5
Contents?: true
Size: 464 Bytes
Versions: 57
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
57 entries across 57 versions & 1 rubygems