licos-platform-cli
LICOS 平台命令行工具。licos-platform help 返回结构化 JSON 帮助。
当前使用者(0.5.1 起)
licos-platform user me
licos-platform user me --workspace-id <执行工作空间ID>
licos-platform help user me
默认由可信运行时注入 LICOS_CURRENT_USER_ID,平台地址、服务凭证和项目工作空间沿用运行时配置。
多用户请求可将当前使用者 Token 通过标准输入传入,不将 Token 放在命令行参数中:
licos-platform user me --token-stdin
输入不含 Bearer 前缀的 Token 并结束标准输入。程序调用时可通过子进程的 input 参数传入。
输出为与低代码 sys_user 相同的 JSON:用户 ID、账号、姓名、头像、执行企业、
主部门、全部所属部门、组织任职、主岗位和主职务。部门含名称路径、ID 路径;
无部门/任职时保持 []/null。缺少当前使用者身份或 Token 失效时返回非零退出码,
不改用项目所有者。Token 和内部服务凭证不回显。
Metadata
Release files for licos-platform-cli 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| licos_platform_cli-0.5.1.tar.gz | 36.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| licos_platform_cli-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 71.6 kB
Release files / licos_platform_cli-0.5.1.tar.gz
| Download URL | licos_platform_cli-0.5.1.tar.gz |
|---|---|
| Size | 36.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47feb4de6dd79428b92358804c896e7b541f3ebfd1800598a1c7bf27a1056119
|
|
BLAKE2b-256 checksum How to use checksums |
4f3217fd3446ab9c724ac2ea8ea65b86db6716f502eddc04a917e882b552eaa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.7
|
Release files / licos_platform_cli-0.5.1-py3-none-any.whl
| Download URL | licos_platform_cli-0.5.1-py3-none-any.whl |
|---|---|
| Size | 35.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08f09ff8e27fc4662abf6440c693c39b671cb0054782e4dbd3e393fdca2c33f1
|
|
BLAKE2b-256 checksum How to use checksums |
415fefed412bf28646060a416f3bff47508e5ceac7a77fc81b0d4fa504b1eb65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.7
|