alibabacloud-cms-manage
Installation
SKILL.md
CMS CLI — aliyun cms2
Prerequisite Check
-
Check
aliyunexists —which aliyun(macOS/Linux) orwhere aliyun(Windows).- Not found → ask the user to install the aliyun CLI first: https://help.aliyun.com/document_detail/121541.html. Stop and wait.
-
Check CLI version — run
aliyun version. Minimum required: 3.3.15 (seecompatibilityin frontmatter).⚠️ Compare version segments as integers (semver): 3.3.4 < 3.3.15 because 4 < 15. Shell verification:
printf '%s\n' "3.3.15" "$(aliyun version)" | sort -V | head -1If the output equals the current version, the requirement is NOT met.