in lib/functions_framework/cli.rb [155:178]
def run
return self if error?
case @what_to_do
when :version
puts ::FunctionsFramework::VERSION
when :help
puts @option_parser
when :verify
begin
load_function
puts "OK"
rescue ::StandardError => e
error! e.message
end
else
begin
start_server.wait_until_stopped
rescue ::StandardError => e
error! e.message
end
end
self
end