5.3.1.21.11. cli.helpers.host_platform

Platform detection utility.

This module provides a function to detect the current operating system platform (‘linux’ or ‘win32’). Exits if the platform is unsupported.

Functions

get_platform()

Identify the current operating system platform.

get_platform_prefix([platform])

Return the installation prefix for a supported platform.