【文件属性】:
文件名称:alibabacloud-edgeroutine-cli:@alicloudedgeroutine API的nodejs CLI工具
文件大小:61KB
文件格式:ZIP
更新时间:2021-05-17 00:08:51
JavaScript
阿里云-edgeroutine-cli
@ alicloud / edgeroutine API的nodejs CLI工具。
安装
安装它并运行您的CLI命令。
$ npm install @alicloud/edgeroutine-cli -g
先决条件
Node.js> = 10.x
笔记
您必须知道您的AK ( accessKeyId/accessKeySecret ),以及云产品的endpoint和apiVersion 。
例如CDN OpenAPI( ),API版本是2018-05-10 。
端点列表可在找到,中心端点为cdn.aliyuncs.com。 添加http协议http或https ,应为http://cdn.aliyuncs.com/ 。
用法
CLI样式工具:
1.准备一个空目录。
$ mkdir yourProject & cd yourProject
【文件预览】:
alibabacloud-edgeroutine-cli-master
----bin()
--------index.js(44B)
--------entry.js(3KB)
----package.json(1KB)
----webpack-entry.js(27B)
----test()
--------test-debugSeesion.js(1KB)
--------test-cmd.js(2KB)
--------test-protocol.js(1KB)
--------test-printter.js(7KB)
--------test-edgeCDN.js(6KB)
--------test-io.js(3KB)
----LICENSE(1KB)
----package-lock.json(73KB)
----src()
--------core()
--------commands()
--------edge()
--------templates()
--------debugger()
--------utils()
----.gitignore(2KB)
----webpack.config.js(469B)
----README.md(3KB)