Do not run SDK scripts alone
This commit is contained in:
parent
36ed1f46d7
commit
e75b524c52
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/bin/false
|
||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
for c in openssl curl; do
|
for c in openssl curl; do
|
||||||
if ! command -v ${c} > /dev/null; then
|
if ! command -v ${c} &> /dev/null; then
|
||||||
echo "Aliyun OpenAPI SDK: ${c} command not found"
|
echo "Aliyun OpenAPI SDK: ${c} command not found"
|
||||||
exit 127
|
exit 127
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
# Aliyun OpenAPI Shell SDK
|
# Aliyun OpenAPI Shell SDK
|
||||||
|
|
||||||
## 介绍
|
|
||||||
|
|
||||||
这是一个非官方的阿里云 OpenAPI Shell SDK,方便 Shell 脚本调用阿里云 OpenAPI,SDK 主要实现了自动计算请求签名。
|
这是一个非官方的阿里云 OpenAPI Shell SDK,方便 Shell 脚本调用阿里云 OpenAPI,SDK 主要实现了自动计算请求签名。
|
||||||
|
|
||||||
虽然阿里云官方有 [AliyunCLI](https://github.com/aliyun/aliyun-cli),可以在 Shell 环境下使用阿里云 OpenAPI,不过某些 API (比如 SSL 证书) 它并不支持,或者说还没来得及支持,所以我就想写一个可能是最好用的阿里云 Shell SDK。
|
虽然阿里云官方有 [AliyunCLI](https://github.com/aliyun/aliyun-cli),可以在 Shell 环境下使用阿里云 OpenAPI,不过某些 API (比如 SSL 证书) 它并不支持,或者说还没来得及支持,所以我就想写一个可能是最好用的阿里云 Shell SDK。
|
||||||
|
对于存储空间不充足的嵌入式设备,Shell SDK 明显是更好的选择。
|
||||||
|
|
||||||
理论上支持所有阿里云 RPC OpenAPI,RESTful OpenAPI 暂不支持,将来可能会支持。
|
理论上支持所有阿里云 RPC OpenAPI,RESTful OpenAPI 暂不支持,将来可能会支持。
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue