5.3.1.21.11.1. cli.helpers.host_platform.get_platform

cli.helpers.host_platform.get_platform() → Literal['win32', 'linux']

Identify the current operating system platform.

Returns:

The name of the platform, either ‘linux’ or ‘win32’.

Exits:

Exits the program with an error message if the platform is unsupported.