microsoft / botframework-components

The repository for components built by Microsoft for the Azure Bot Framework.
https://aka.ms/botdocs
MIT License
113 stars 82 forks source link

Adaptive Bot: Yeoman template generator should prompt for arguments #866

Open tomlm opened 3 years ago

tomlm commented 3 years ago

Version

1.0-rc3

Describe the bug

Yeoman template should prompt the user for bot name. project type, etc.

To Reproduce

npm install -g yo
npm install -g @microsoft/generator-bot-empty
yo
? 'Allo Tom! What would you like to do? @microsoft/bot Empty
    _-----_     ╭───────────────────────╮
    |       |    │      Bye from us!     │
    |--(o)--|    │       Chat soon.      │
   `---------´   │      Yeoman team      │
    ( _´U`_ )    │    http://yeoman.io   │
    /___A___\   /╰───────────────────────╯
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

Error: Did not provide required argument botName!

Expected behavior

Yeoman templates should prompt the user for information it needs

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

clearab commented 3 years ago

@ryanlengel can you take a look at this one?

ryanisgrig commented 3 years ago

This functions as designed so it can work in a non-interactive context with Composer. Postponing to R14 when we have more time to reevaluate.