TencentCloud / tencentcloud-cli

Tencent Cloud API 3.0 Command Line Interface
Apache License 2.0
90 stars 26 forks source link

Argument list too long #62

Closed pikadun closed 2 months ago

pikadun commented 1 year ago

当我使用 tccli scf UpdateFunctionCode 命令对云函数代码进行更新时,cli会抛出异常,完整命令参数如下:

tccli scf UpdateFunctionCode --cli-unfold-argument \
  --FunctionName banana-api-production \
  --Namespace banana \
  --ZipFile $(base64 api-production.zip -w 0)
zqfan commented 1 year ago

这应该是shell抛出的错误,尝试使用json文件导入--cli-input-json试试