Class: ChefCLI::QuieterDocFormatter

Inherits:
Chef::Formatters::Doc
  • Object
show all
Defined in:
lib/chef-cli/command/generator_commands/chef_exts/quieter_doc_formatter.rb

Overview

Subclass of Chef’s standard ‘doc’ formatter that mutes messages that occur prior to convergence. This gives us cleaner output in general, but is especially noticeable when the standard formatter is disabled by the generator cookbook.

Instance Method Summary collapse

Instance Method Details

#cookbook_gem_start(gems) ⇒ Object

Called when starting to collect gems from the cookbooks



31
# File 'lib/chef-cli/command/generator_commands/chef_exts/quieter_doc_formatter.rb', line 31

def cookbook_gem_start(gems); end

#inputs_load_startObject

Called when cookbook loading starts.



40
# File 'lib/chef-cli/command/generator_commands/chef_exts/quieter_doc_formatter.rb', line 40

def inputs_load_start; end

#library_load_start(file_count) ⇒ Object

Called when cookbook loading starts.



34
# File 'lib/chef-cli/command/generator_commands/chef_exts/quieter_doc_formatter.rb', line 34

def library_load_start(file_count); end

#profiles_load_startObject

Called when cookbook loading starts.



37
# File 'lib/chef-cli/command/generator_commands/chef_exts/quieter_doc_formatter.rb', line 37

def profiles_load_start; end

#waivers_load_startObject

Called when cookbook loading starts.



43
# File 'lib/chef-cli/command/generator_commands/chef_exts/quieter_doc_formatter.rb', line 43

def waivers_load_start; end