waft.cli.download_warp module¶
- class waft.cli.download_warp.PlatformEnum(value)¶
Bases:
StrEnum- almalinux = 'almalinux'¶
- bookworm = 'bookworm'¶
- bullseye = 'bullseye'¶
- centos8 = 'centos8'¶
- debian11 = 'debian11'¶
- debian12 = 'debian12'¶
- debian13 = 'debian13'¶
- fedora34 = 'fedora34'¶
- fedora35 = 'fedora35'¶
- focal = 'focal'¶
- jammy = 'jammy'¶
- macos = 'macos'¶
- noble = 'noble'¶
- rhel = 'rhel'¶
- trixie = 'trixie'¶
- ubuntu20 = 'ubuntu20'¶
- ubuntu22 = 'ubuntu22'¶
- ubuntu24 = 'ubuntu24'¶
- windows = 'windows'¶
- class waft.cli.download_warp.ReleaseTrackEnum(value)¶
Bases:
StrEnum- beta = 'beta'¶
- ga = 'ga'¶
- nightly = 'nightly'¶
- waft.cli.download_warp.client(platform: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.PlatformEnum, <typer.models.ArgumentInfo object at 0x7fdfdf8f1f50>], architecture: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.ArchitectureEnum, <typer.models.ArgumentInfo object at 0x7fdfdf9a4090>], release: ~typing.Annotated[~waft.cli.download_warp.ReleaseTrackEnum | None, <typer.models.OptionInfo object at 0x7fdfe0b08b50>] = None, version: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7fdfdfe33410>] = '', previous: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7fdfdf91a9d0>] = 0, clear: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fdfdf9a4a90>] = False, flutter: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fdfdf9c6a50>] = False)¶
Download WARP client to local WAFT client installs folder.
- waft.cli.download_warp.client_download_path(platform: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.PlatformEnum, <typer.models.ArgumentInfo object at 0x7fdfdf8f1f50>], architecture: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.ArchitectureEnum, <typer.models.ArgumentInfo object at 0x7fdfdf9a4090>], clear: bool, flutter: bool = False) Path¶
Return the local client download path for the respective platform and architecture.
- Parameters:
platform (StrEnum) – Client platform alias
architecture (StrEnum) – Client architecture
clear (bool) – Clear the install path
flutter (bool) – Whether to use Flutter build variant
- Returns:
Client download path
- Return type:
Path
- waft.cli.download_warp.client_downloads_catalog(platform: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.PlatformEnum, <typer.models.ArgumentInfo object at 0x7fdfdf8f1f50>], architecture: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.ArchitectureEnum, <typer.models.ArgumentInfo object at 0x7fdfdf9a4090>], release: ~typing.Annotated[~waft.cli.download_warp.ReleaseTrackEnum | None, <typer.models.OptionInfo object at 0x7fdfe0b08b50>], flutter: bool = False) dict¶
Request the client downloads catalog for the respective platform, architecture, and release track.
- Parameters:
platform (StrEnum) – Client platform alias
architecture (StrEnum) – Client architecture
release (StrEnum) – Client release track
flutter (bool) – Whether to use Flutter build variant
- Returns:
Client downloads catalog
- Return type:
dict
- waft.cli.download_warp.client_platform_id(platform: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.PlatformEnum, <typer.models.ArgumentInfo object at 0x7fdfdf8f1f50>] | str, architecture: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.ArchitectureEnum, <typer.models.ArgumentInfo object at 0x7fdfdf9a4090>]) str¶
Return the designated platform identifier for published client downloads.
- Parameters:
platform (StrEnum) – Client platform alias
architecture (StrEnum) – Client architecture
- Returns:
Platform identifier for published client downloads
- Return type:
str
- waft.cli.download_warp.clients(release: ~typing.Annotated[~waft.cli.download_warp.ReleaseTrackEnum | None, <typer.models.OptionInfo object at 0x7fdfe0b08b50>] = None, version: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7fdfdfe33410>] = '', previous: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7fdfdf91a9d0>] = 0, clear: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fdfdf9a4a90>] = False, flutter: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fdfdf9c6a50>] = False, systems: ~typing.Annotated[list[str], <typer.models.OptionInfo object at 0x7fdfdf7e4710>] = SystemsDefault.ALL, config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7fdfe0b2d3d0>] = None)¶
Download WARP clients to the local system for any given system/group(s) defined in the config
- waft.cli.download_warp.get_download_urls(flutter: bool = False) tuple[str, dict]¶
Get base URL and platform mapping for downloads.
- Parameters:
flutter – Whether to use Flutter build variant
- Returns:
Tuple of (base_url, platform_mapping) for downloads.
- waft.cli.download_warp.info(platform: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.PlatformEnum, <typer.models.ArgumentInfo object at 0x7fdfdf8f1f50>], architecture: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.ArchitectureEnum, <typer.models.ArgumentInfo object at 0x7fdfdf9a4090>], release: ~typing.Annotated[~waft.cli.download_warp.ReleaseTrackEnum | None, <typer.models.OptionInfo object at 0x7fdfe0b08b50>] = None, flutter: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fdfdf9c6a50>] = False)¶
Display release details of (published) WARP clients available for download.