命令概览

本文档属于使用 CLI指南的一部分。您可以在此处查看完整指南:安装并使用 Stackhero CLI,从命令行、脚本、CI 和 AI agents 管理您的 stacks 和 services。

如果您想查看所有可用命令的完整列表,可以运行 stackhero --help。如果您想查看某个特定命令的详细信息,可以尝试 stackhero COMMAND --help。

一些常用命令包括:

  • Organizations:organizations-list
  • Stacks:stacks-list、stack-create、stack-rename、stack-delete
  • Services:services-list、service-add、service-wait-for、service-rename、service-delete
  • Configuration:service-configuration-get、service-configuration-set、service-configuration-example
  • Store:services-store-list、instances-store-list、regions-list
  • Upgrades:service-upgrade-instances-store-list、service-upgrade-instance
  • Account:login、logout
  • Maintenance:self-update