Skip to main content

arg

Implements functions and variables for interacting with execution and system environment.

You can import these APIs from the sys package. For example:

from sys import argv

argv

argv() -> VariadicList[StringRef]

The list of command line arguments.

Returns:

The list of command line arguments provided when mojo was invoked.