ProtectedenvHelper: extracts a string from env, returning undefined if empty.
Optionalvalue: stringProtectedenvHelper: converts a string or boolean to a boolean, handling "true"/"false" strings.
Optionalvalue: string | booleanReloads settings from the .env file and re-applies all values.
this for chaining.
Returns the raw debug log flag.
Sets the debug log flag from a boolean or env string.
Optionalvalue: string | booleanBoolean or "true"/"false" string. Falls back to the class default if omitted.
Returns true when debug file logging is active.
Returns the current default language code.
Sets the default language. Falls back to the class default if value is empty.
Optionalvalue: stringLanguage code string.
Returns the idle state prefix string.
Sets the idle state prefix. Falls back to the default if empty.
Optionalvalue: stringReturns the idle state color, or undefined to use the terminal default.
Sets the idle state color. Pass undefined or empty to use the terminal default.
Optionalvalue: stringReturns the hover state prefix string.
Sets the hover state prefix. Falls back to the default if empty.
Optionalvalue: stringReturns the hover state color, or undefined to use the terminal default.
Sets the hover state color. Pass undefined or empty to use the terminal default.
Optionalvalue: stringReturns the selected state prefix string.
Sets the selected state prefix. Falls back to the default if empty.
Optionalvalue: stringReturns the selected state color, or undefined to use the terminal default.
Sets the selected state color. Pass undefined or empty to use the terminal default.
Optionalvalue: stringReturns whether the idle state applies underline decoration.
Sets the idle underline flag. Accepts a boolean or "true"/"false" string.
Optionalvalue: string | booleanReturns true if idle underline decoration is active.
Returns whether the hover state applies underline decoration.
Sets the hover underline flag. Accepts a boolean or "true"/"false" string.
Optionalvalue: string | booleanReturns true if hover underline decoration is active.
Returns whether the selected state applies underline decoration.
Sets the selected underline flag. Accepts a boolean or "true"/"false" string.
Optionalvalue: string | booleanReturns true if selected underline decoration is active.
Returns the default page size for scrollable choice menus.
Sets the default page size from a number or env string. Falls back to the class default (10) if the value is missing or invalid.
Optionalvalue: string | numberNumber or numeric string.
ProtecteddebugProtectedlanguageProtectedidleProtected OptionalidleProtectedhoverProtected OptionalhoverProtectedselectedProtected OptionalselectedProtectedidleProtectedhoverProtectedselectedProtectedpageProtected StaticdefaultProtected StaticdefaultProtected StaticdefaultProtected StaticdefaultProtected StaticdefaultProtected StaticdefaultProtected StaticdefaultProtected StaticdefaultProtected StaticdefaultProtected StaticdefaultProtected StaticdefaultProtected Staticdefault
Creates a new Env instance and immediately loads settings from .env file. All defaults are hardcoded static values; consumer .env overrides apply at runtime.