require 'chef/knife' require 'kcd' module KnifeCookbookDependencies class CookbookDependenciesUpdate < CookbookDependenciesInstall banner "knife cookbook dependencies update" alias :install_run :run def run ::KCD.ui = ui Lockfile.remove! install_run end end class CookbookDepsUpdate < CookbookDependenciesUpdate banner "knife cookbook deps update" end end