Module lrs::env

Process environment.

Functions

NameDescription
arg_count

Returns the number of command line arguments.

args

Returns an iterator over the command line arguments.

env

Returns an iterator over the environment variables.

get_cwd

Retrieves the current working directory.

path

Returns an iterator over the paths in the PATH environment variable.

set_cwd

Sets the current working directory.

var

Retrieves the value of an environment variable, if any.