我想知道,如果我想列出命令,为什么ask-cli不起作用。有人知道原因吗?我可以运行ask deploy,并且可以看到我的技能在developer.amazon.com上运行
> ask -v
1.1.2
> ask --help
Usage: ask [options] [command]
Command Line Interface for Alexa Skill Management API
Commands:
init [options] initialize the ask-cli with your Amazon developer account credentials
deploy [options] deploy a skill to your developer account
new [options] create a new skill project on your computer
clone [options] clone an existing skill project on your computer
simulate [options] simulate a user using your skill
lambda list of AWS Lambda commands
api list of Alexa Skill Management API commands
help [cmd] display help for [cmd]
> ask lambda
ask-lambda(1) does not exist, try --help
> ask api
ask-api(1) does not exist, try --help发布于 2018-07-26 17:36:46
通过npm安装ask-cli后,一切都按预期运行:
> npm install -g ask-cli我在brew之前使用它来安装ask-cli。
https://stackoverflow.com/questions/51533580
复制相似问题