zmfcli
Command line interface (cli) for ChangeMan ZMF through REST API. Using fire to create the cli.
Usage
Credentials
Credentials and url can be exported to ZMF_REST_* variables, so those
do not need to be privided with each command execution.
export ZMF_REST_URL=http://httpbin.org:80/anything/zmfrest
export ZMF_REST_USER=U000000
export ZMF_REST_PWD=pa$$w0rd
zmf build "APP 000001" "['src/SRE/APP00001.sre', 'src/SRB/APP00002.srb', 'src/SRB/APP00003.srb']"
Example
Audit a package
$ zmf audit "APP 000001"
Commands
Get help for a command
$ zmf promote --help
| Command | Description |
|---|---|
| checkin | PUT component/checkin |
| build | PUT component/build |
| scratch | PUT component/scratch |
| audit | PUT package/audit |
| promote | PUT package/promote |
| freeze | PUT package/freeze |
| revert | PUT package/revert |
| search-package | GET package/search |
| create-package | POST package |
| get-package | Search or create if package does not exist |
| get-components | GET component |
| get-load-components | GET component/load |
| browse-component | GET component/browse |
Pretty print result
Some results may return JSON data, this data can be pretty printed with Python
zmf get-load-components "APP 000001" "LST" | python -m json.tool
ChangeMan ZMF Documents
Metadata
Release files for zmfcli 0.1.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zmfcli-0.1.19.tar.gz | 7.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zmfcli-0.1.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 MB
Release files / zmfcli-0.1.19.tar.gz
| Download URL | zmfcli-0.1.19.tar.gz |
|---|---|
| Size | 7.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5367096a5c8e7a26d4d54e627b3e1c8686e2d3e7223d52465343e0d0bac3bd97
|
|
BLAKE2b-256 checksum How to use checksums |
f281d74f097c0fb5689ed8b1911f9388c9be712d67035867e3d5d5e59d043533
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|
Release files / zmfcli-0.1.19-py3-none-any.whl
| Download URL | zmfcli-0.1.19-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf576880c3dea31c94fc91790e76e0ecc4b914f409bf194a7f465345a97e96e9
|
|
BLAKE2b-256 checksum How to use checksums |
1a5aa3412a803ee477d9e39cbfe2a72385b700ce43a768fece04dda14ff42e11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|