based on the finished issue #3784 the PR that added this functionality refactored only a single place to show how it works. Now we need some kind of epic to refactor all other commands that might have a similar flow.
The aim of this issue is to:
- find all commands that might ask for a selection when multiple results are found and single needs to be specified.
- refactor the code to the same flow implementing the new utils like in the
pp card get command
ToDo:
[✅] Refactor #5153:
[👨💻in progress] Update the following commands code to add interactive mode functionality to select a single value from multiple results:
needs a bit bigger refactor
based on the finished issue #3784 the PR that added this functionality refactored only a single place to show how it works. Now we need some kind of epic to refactor all other commands that might have a similar flow.
The aim of this issue is to:
pp card getcommandToDo:
[✅] Refactor #5153:
interactivekey and use thepromptkey[👨💻in progress] Update the following commands code to add interactive mode functionality to select a single value from multiple results:
aad app getaad app removeaad app role addaad app role listaad app role removeaad app setaad approleassignment addaad goup getaad o365group recyclebinitem restoreaad o365group recyclebinitem removeaad o365group teamifyaad sp aadaad sp getaad user getbooking business getoutlook message listoutlook message moveplanner bucket getplanner bucket removeplanner bucket setplanner task getplanner task removepp aibuildermodel getpp chatbot getpp managementapp addspo applicationcustomizer getspo applicationcustomizer setspo applicationcustomizer removespo commandset getspo commandset setspo commandset removespo customaction getspo customaction removespo eventreceiver getspo hubsite connectspo hubsite disconnectspo hubsite getspo tenant applicationcustomizer getspo tenant applicationcustomizer removespo tenant applicationcustomizer setspo tenant commandset getspo tenant commandset removespo term getteams channel addteams channel member addteams channel member removeteams channel member setteams chat getteams chet message sendneeds a bit bigger refactor
search externalconnection removesite apppermission addsite apppermission set