ucl/_docs/mod/os.md
Leon Mika 42d5a89471
All checks were successful
Build / build (push) Successful in 1m49s
Started working on more package docs
2025-01-19 10:11:55 +11:00

329 B

OS Module

Functions for accessing the operating system.

env

os:env NAME [DEFAULT]

Returns the value of the environment variable NAME. If no environment with NAME is defined, then DEFAULT will be returned, if specified. Otherwise, nil will be returned.

echo "User's home directory is: " (os:env "HOME")