Method: Foreman::CLI#check

Defined in:
lib/foreman/cli.rb

#checkObject



75
76
77
78
79
80
81
# File 'lib/foreman/cli.rb', line 75

def check
  check_procfile!
  engine.load_procfile(procfile)
  puts "valid procfile detected (#{engine.process_names.join(', ')})"
rescue Foreman::Procfile::EmptyFileError
  error "no processes defined"
end