models/admin_mode library

This file defines the AdminMode enum, which represents the different privilege modes that can be requested by the installer.

The AdminMode enum provides three options:

The file also includes a fromOption method that allows for parsing a configuration option (typically from a YAML or JSON configuration file) into one of the AdminMode values, ensuring compatibility with both boolean and string representations.

Enums

AdminMode
An enum representing the different privilege modes to be asked by installer.