Skip to main content

env Command

The env command retrieves environment variables and passes it to the output stream.

This command is useful when inspecting the environment given to the CLI interpreter.

Usage

env

Examples

resotoshell will set the graph, section, and session ID
> env
​graph: resoto
​section: reported
​resoto_session_id: SHQF9MBUEJ
Environment variables can be defined directly on the command line
> section=desired foo=bla env
​graph: resoto
​section: desired
​resoto_session_id: SHQF9MBUEJ
​foo: bla