Cli for Citadel (WIP)
pip install -i https://pypi.doubanio.com/simple/ -e git+http://gitlab.ricebook.net/platform/corecli.git#egg=core-cli
配置文件就是 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