diff options
author | Tyler Cloke <tylercloke@gmail.com> | 2016-06-10 14:27:16 -0700 |
---|---|---|
committer | Tyler Cloke <tylercloke@gmail.com> | 2016-06-10 14:29:09 -0700 |
commit | 33add42728521fdf13ff4276809e673f5128326d (patch) | |
tree | 23218151c4779ec37cd243669b470670c2ee8322 /lib | |
parent | aa69c960e980f52bb0240fc4880134f58c427584 (diff) | |
download | chef-33add42728521fdf13ff4276809e673f5128326d.tar.gz |
Deprecate `knife cookbook create` in favor of `chef generate cookbook`.tc/deprecate-chef-cookbook-generate
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/knife/cookbook_create.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/knife/cookbook_create.rb b/lib/chef/knife/cookbook_create.rb index 950de380f8..ccb78bb7a6 100644 --- a/lib/chef/knife/cookbook_create.rb +++ b/lib/chef/knife/cookbook_create.rb @@ -56,6 +56,10 @@ class Chef :description => "Email address of cookbook maintainer" def run + Chef::Log.deprecation <<EOF +This command is being deprecated in favor of `chef generate cookbook` and will soon return an error. +Please use `chef generate cookbook` instead of this command. +EOF self.config = Chef::Config.merge!(config) if @name_args.length < 1 show_usage |