首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ask-cli api或lambda不存在

ask-cli api或lambda不存在
EN

Stack Overflow用户
提问于 2018-07-26 15:46:48
回答 1查看 241关注 0票数 0

我想知道,如果我想列出命令,为什么ask-cli不起作用。有人知道原因吗?我可以运行ask deploy,并且可以看到我的技能在developer.amazon.com上运行

代码语言:javascript
复制
> 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
EN

回答 1

Stack Overflow用户

发布于 2018-07-26 17:36:46

通过npm安装ask-cli后,一切都按预期运行:

代码语言:javascript
复制
> npm install -g ask-cli

我在brew之前使用它来安装ask-cli。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51533580

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档