botframework-components icon indicating copy to clipboard operation
botframework-components copied to clipboard

Adaptive Bot: Yeoman template generator should prompt for arguments

Open tomlm opened this issue 3 years ago • 2 comments

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.

tomlm avatar Apr 09 '21 00:04 tomlm

@ryanlengel can you take a look at this one?

clearab avatar Apr 12 '21 18:04 clearab

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.

ryanisgrig avatar Apr 12 '21 20:04 ryanisgrig