Skip to main content

settings_from_process

Function settings_from_process 

Source
pub fn settings_from_process() -> Option<Settings>
Expand description

Settings of the running kellnr start, resolved from the same command line, environment and config file as at startup. For code that runs before the settings are passed around, like the database migrations. None if the process was not started with valid kellnr arguments, for example in tests.