lib/bolt/cli.rb
# Wrapper method that is called by the Bolt executable. Parses the command and
# then loads the project and config. Once config is loaded, it completes the
# setup process by configuring Bolt and issuing warnings.
#
# This separation is needed since the Bolt::Outputter class that normally handles
# printing errors relies on config being loaded. All setup that happens before
# config is loaded will have errors printed directly to stdout, while all errors
# raised after config is loaded are handled by the outputter.
Wrapper method that is called by the Bolt executable. Parses the command and
then loads the project and config. Once config is loaded, it completes the
setup process by configuring Bolt and issuing warnings.

This separation is needed since the Bolt::Outputter class that normally handles
printing errors relies on config being loaded. All setup that happens before
config is loaded will have errors printed directly to stdout, while all errors
raised after config is loaded are handled by the outputter.
Wrapper method that is called by the Bolt executable . Parses the command and then loads the project and config . Once config is loaded it completes the setup process by configuring Bolt and issuing warnings . This separation is needed since the Bolt :: Outputter class that normally handles printing errors relies on config being loaded . All setup that happens before config is loaded will have errors printed directly to stdout while all errors raised after config is loaded are handled by the outputter .
def parse
      parse_command
      load_config
      finalize_setup
    end
def parse parse_command load_config finalize_setup end
Wrapper method that is called by the Bolt executable.
Wrapper method that is called by the Bolt executable .