From d501d770051368ad9bf0e86d081d3f7e25cd24f4 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 6 Apr 2021 15:53:07 -0700 Subject: [PATCH] Add accessors to get to cli components --- lib/vagrant/cli.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/vagrant/cli.rb b/lib/vagrant/cli.rb index 9421c9c2b..fbbf606b3 100644 --- a/lib/vagrant/cli.rb +++ b/lib/vagrant/cli.rb @@ -7,6 +7,8 @@ module Vagrant # Manages the command line interface to Vagrant. class CLI < Vagrant.plugin("2", :command) + attr_reader :main_args, :sub_command, :sub_args + def initialize(argv, env) super