lib/chef-dk/command/describe_cookbook.rb in chef-dk-4.0.60 vs lib/chef-dk/command/describe_cookbook.rb in chef-dk-4.1.7
- old
+ new
@@ -1,8 +1,9 @@
-require "chef-dk/command/base"
-require "chef-dk/ui"
-require "chef-dk/cookbook_profiler/identifiers"
+require_relative "base"
+require_relative "../ui"
+require_relative "../cookbook_profiler/identifiers"
+require_relative "../dist"
module ChefDK
class IdDumper
attr_reader :cb_path
@@ -46,10 +47,10 @@
module Command
class DescribeCookbook < ChefDK::Command::Base
- banner "Usage: chef describe-cookbook <path/to/cookbook>"
+ banner "Usage: #{ChefDK::Dist::EXEC} describe-cookbook <path/to/cookbook>"
attr_reader :cookbook_path
attr_reader :ui
def initialize(*args)