diff options
author | Tim Smith <tsmith@chef.io> | 2019-05-15 20:26:45 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-05-15 20:26:45 -0700 |
commit | f68a248a89a23a5ab906e7add40a83152cc6e1f5 (patch) | |
tree | 23c84a6f3f839dcff2143af5d3baf82cbd3b197c /lib | |
parent | a84fc9d81f6b8d0f0b5344369c8f4b5f6c741676 (diff) | |
download | chef-f68a248a89a23a5ab906e7add40a83152cc6e1f5.tar.gz |
Add Chef license acceptance CLI flag to chef-solochef_apply_license
Our major CLI commands should all have this
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/application/solo.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb index 542088fefe..5cfcce9553 100644 --- a/lib/chef/application/solo.rb +++ b/lib/chef/application/solo.rb @@ -30,10 +30,12 @@ require "pathname" require "chef-config/mixin/dot_d" require "mixlib/archive" require_relative "../dist" +require "license_acceptance/cli_flags/mixlib_cli" class Chef::Application::Solo < Chef::Application include Chef::Mixin::ShellOut include ChefConfig::Mixin::DotD + include LicenseAcceptance::CLIFlags::MixlibCLI option :config_file, short: "-c CONFIG", |