download_tool (Windows)
download_tool-for-windows.exe is used for one-click download on Windows.
Command Function
Downloads the required component packages of the valid roles in the machine.yaml configuration file.
Syntax
.\download_tool-for-windows.exe [-h] [-f YAML_PATH] [-iso SPECIFY_DOWNLOADING_ISO_VERSION]
View the tool usage instructions.
.\download_tool-for-windows.exe -h
Command output:
usage: download_tool [-h] [-f YAML_PATH] [-iso SPECIFY_DOWNLOADING_ISO_VERSION]
devkit-pipeline download_tool
optional arguments:
-h, --help show this help message and exit
-f YAML_PATH, --config YAML_PATH
Assign yaml config file path. Default path is 'machine.yaml' in current directory.
-iso SPECIFY_DOWNLOADING_ISO_VERSION
Specify downloading iso version. Candidate iso versions: openEuler_2003_LTS, openEuler_2003_LTS_SP1, openEuler_2003_LTS_SP2, openEuler_2003_LTS_SP3,
openEuler_2003_LTS_SP4, openEuler_2009, openEuler_2103, openEuler_2109, openEuler_2203_LTS, openEuler_2203_LTS_SP1, openEuler_2203_LTS_SP2,
openEuler_2203_LTS_SP3, openEuler_2209, openEuler_2303, openEuler_2309. Input 'auto' will auto detect operating system version in Linux if iso version is not specified.
Parameter Description
Parameter |
Option |
Description |
|---|---|---|
-h/--help |
- |
(Optional) Obtains help information. |
-f/--config |
YAML_PATH |
(Optional) machine.yaml file path. |
-iso |
SPECIFY_DOWNLOADING_ISO_VERSION |
(Optional) ISO version to be downloaded. If you enter auto, the tool automatically detects the OS version and downloads the corresponding ISO file. |
Use Case
In the directory where download_tool-for-windows.exe is stored, open the cmd window and download the component packages of the valid roles in the machine.yaml configuration file.
.\download_tool-for-windows.exe -f ./machine.yaml
Parent topic: download_tool