Class: Chef::Application::Knife
- Inherits:
-
Object
- Object
- Chef::Application::Knife
- Defined in:
- lib/knife_santoku/monkey_patches/knife.rb
Instance Method Summary collapse
-
#run ⇒ Object
Run knife.
Instance Method Details
#run ⇒ Object
Run knife
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/knife_santoku/monkey_patches/knife.rb', line 7 def run require 'knife-santoku' santoku = ::KnifeSantoku::Application.new(ARGV) Mixlib::Log::Formatter.show_time = false quiet_traps santoku.run_before_callbacks Chef::Knife.run(ARGV, ) santoku.run_after_callbacks exit 0 end |