Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 448 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 448 Bytes

Cli for Citadel (WIP)

Install

pip install -i https://pypi.doubanio.com/simple/ -e git+http://gitlab.ricebook.net/platform/corecli.git#egg=core-cli

Configuration

配置文件就是 JSON, 放在 ~/.corecli.json, 从 sso 上可以获取 Auth token.

cat > ~/.corecli.json << EOF
{"citadel_url": "http://citadel.ricebook.net", "auth_token": "[SSO_AUTH_TOKEN]", "mimiron_url": "", "username": "[SSO_USERNAME]"}
EOF