Class: VPL::Command::Reg::Add
- Inherits:
-
VPL::Command::Reg
- Object
- CLAide::Command
- VPL::Command
- VPL::Command::Reg
- VPL::Command::Reg::Add
- Defined in:
- lib/vcpkg_pipeline/command/reg/add.rb
Overview
VPL::Command::Reg::Add
Instance Attribute Summary
Attributes inherited from VPL::Command
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Add
constructor
A new instance of Add.
- #run ⇒ Object
Methods inherited from VPL::Command
ensure_not_root_or_allowed!, git_version, options_extension, options_extension_hash, run, verify_minimum_git_version!, verify_xcode_license_approved!
Constructor Details
#initialize(argv) ⇒ Add
Returns a new instance of Add.
25 26 27 28 29 30 |
# File 'lib/vcpkg_pipeline/command/reg/add.rb', line 25 def initialize(argv) @name = argv.shift_argument || '' @url = argv.shift_argument || '' super end |
Class Method Details
.options ⇒ Object
21 22 23 |
# File 'lib/vcpkg_pipeline/command/reg/add.rb', line 21 def self. [].concat(super) end |