aos-signer
Aos CLI Tool aos-signer helps you to prepare, sign, and upload Services to AosCloud.
The tool can:
- generate required folders and configuration files
- validate configuration files
- sign Service archives
- upload Services to AosCloud
| sub-command, option | description |
|---|---|
| -V, --version | Shows installed version. |
| -h, --help | Shows general help or help for a selected command. |
| init | Generates required folders and configuration file. |
| validate | Validates the config file. |
| sign | Signs Service. Reads the configuration and creates a signed archive ready to be uploaded. |
| upload | Uploads Service to AosCloud. Address, security credentials, and service UID are taken from config.yaml in the meta folder. |
| go | Signs and uploads Service to AosCloud. Address, security credentials, and service UID are taken from config.yaml in the meta folder. |
-V, --version
Shows installed version.
- Windows
- macOS/Linux
~/.aos/venv/Scripts/python -m aos_signer -V
~/.aos/venv/bin/python3 -m aos_signer -V
-h, --help
Shows general help or help for a selected command.
- Windows
- macOS/Linux
~/.aos/venv/Scripts/python -m aos_signer -h
~/.aos/venv/Scripts/python -m aos_signer init -h
~/.aos/venv/bin/python3 -m aos_signer -h
~/.aos/venv/bin/python3 -m aos_signer init -h
init
Generates required folders and configuration file. If you don't know where to start, use this command.
init [-h]
- Windows
- macOS/Linux
~/.aos/venv/Scripts/python -m aos_signer init
~/.aos/venv/bin/python3 -m aos_signer init
validate
Validates the config file.
validate [-h]
- Windows
- macOS/Linux
~/.aos/venv/Scripts/python -m aos_signer validate
~/.aos/venv/bin/python3 -m aos_signer validate
sign
Sign Service. Reads the configuration and creates a signed archive ready to be uploaded.
sign [-h]
- Windows
- macOS/Linux
~/.aos/venv/Scripts/python -m aos_signer sign
~/.aos/venv/bin/python3 -m aos_signer sign
upload
Upload Service to AosCloud. Address, security credentials, and service UID are taken from config.yaml in the meta folder.
upload [-h]
- Windows
- macOS/Linux
~/.aos/venv/Scripts/python -m aos_signer upload
~/.aos/venv/bin/python3 -m aos_signer upload
go
Sign and upload Service to AosCloud. Address, security credentials, and service UID are taken from config.yaml in the meta folder.
go [-h]
- Windows
- macOS/Linux
~/.aos/venv/Scripts/python -m aos_signer go
~/.aos/venv/bin/python3 -m aos_signer go