@tutti-os/tutti-admin-cli
v0.1.2
Published
Internal CLI for Tutti admin operations.
Downloads
449
Keywords
Readme
tutti-admin-cli
Internal CLI for Tutti admin operations. The first workflow is App Center release publishing, but the command surface is intentionally broader than app uploads so it can grow with admin automation.
Auth
Create a management token in TSH Admin Dashboard -> 管理密钥, then run:
tutti-admin auth login --admin-url https://admin.nextop.sh
tutti-admin auth whoamiThe CLI stores the token in ~/.config/tutti-admin/config.json with 0600
permissions. CI can provide TUTTI_ADMIN_TOKEN instead.
admin.nextop.sh is normalized to the API origin https://nextop.sh.
App Release
tutti-admin app list --brand nextop --query design
tutti-admin app detail --brand nextop --app-id vibe-design --include latest,versions
tutti-admin app validate --zip ./output/vibe-design.zip
tutti-admin app release --brand nextop --app-id vibe-design --zip ./output/vibe-design.zip --publish --latestapp release validates the zip, creates an artifact upload session, uploads the
zip, creates the App Center version, and optionally publishes it and moves the
latest pointer.
Maintenance
tutti-admin app create --brand nextop --app-id vibe-design --name "Vibe Design"
tutti-admin app edit --brand nextop --app-id vibe-design --name "Vibe Design" --icon ./assets/icon.png
tutti-admin app publish --brand nextop --app-id vibe-design --version 0.1.47 --latest
tutti-admin app rollback --brand nextop --app-id vibe-design --version 0.1.46
tutti-admin app archive --brand nextop --app-id vibe-design --version 0.1.45app create and app edit accept either --icon <file> to upload a PNG/JPEG/WebP
icon through App Center asset upload, or --icon-url <url> when the asset is
already hosted.
