cli/args: add class to handle arguments.

This commit is contained in:
Mike McQuaid 2019-04-17 19:42:27 +09:00
parent 34a8ab74af
commit e9806b6b55
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -0,0 +1,15 @@
require "ostruct"
module Homebrew
module CLI
class Args < OpenStruct
# undefine tap to allow --tap argument
undef tap
def initialize(argv:)
super
@argv = argv
end
end
end
end