Module config

Source
Expand description

Parse CLI options, setup on boot, read .env values

Structs§

Config
Configuration for the server. These values are set when the server initializes, and do not change while running. These are constructed from Opts, which in turn are constructed from CLI arguments and ENV variables.
ExportOpts
ImportOpts
Opts
Store and share Atomic Data! Visit https://atomicdata.dev for more info. Pass no subcommands to launch the server. The .env of your current directory will be read.
ServerOpts
Start atomic-server, oi mate

Enums§

Command
LogLevel
Tracing

Functions§

build_config
Creates the server config, reads .env values and sets defaults
read_opts
Parse .env and CLI options