nativescript-community / nativescript-vscode-extension

A Visual Studio Code Extension for NativeScript
https://www.nativescript.org/visual-studio-code
Apache License 2.0
82 stars 32 forks source link

Yosifov/add teams selector #130

Closed yyosifov closed 7 years ago

yyosifov commented 7 years ago

When launching on iOS device we need to have the TeamId selected, otherwise the CLI will suggest the user the Teams. Unfortunately, currently the console is not Interactive and the CLI cannot get the user's input. Therefore, we're adding a Quick Pick from the Visual Studio code for the user if he has more than 1 Team from which to select. Then this is passed as "--teamId" option to the run command. This is not persisted anywhere, therefore the user will be asked every time.