Skip to content

Add support for interactive mode for disambiguation prompts. #5053

@Adam-it

Description

@Adam-it

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:

  1. find all commands that might ask for a selection when multiple results are found and single needs to be specified.
  2. refactor the code to the same flow implementing the new utils like in the pp card get command

ToDo:
[✅] Refactor #5153:

  • refactor the config key to drop the interactive key and use the prompt key

[👨‍💻in progress] Update the following commands code to add interactive mode functionality to select a single value from multiple results:

  • aad app get
  • aad app remove
  • aad app role add
  • aad app role list
  • aad app role remove
  • aad app set
  • aad approleassignment add
  • aad goup get
  • aad o365group recyclebinitem restore
  • aad o365group recyclebinitem remove
  • aad o365group teamify
  • aad sp aad
  • aad sp get
  • aad user get
  • booking business get
  • outlook message list
  • outlook message move
  • planner bucket get
  • planner bucket remove
  • planner bucket set
  • planner task get
  • planner task remove
  • pp aibuildermodel get
  • pp chatbot get
  • pp managementapp add
  • spo applicationcustomizer get
  • spo applicationcustomizer set
  • spo applicationcustomizer remove
  • spo commandset get
  • spo commandset set
  • spo commandset remove
  • spo customaction get
  • spo customaction remove
  • spo eventreceiver get
  • spo hubsite connect
  • spo hubsite disconnect
  • spo hubsite get
  • spo tenant applicationcustomizer get
  • spo tenant applicationcustomizer remove
  • spo tenant applicationcustomizer set
  • spo tenant commandset get
  • spo tenant commandset remove
  • spo term get
  • teams channel add
  • teams channel member add
  • teams channel member remove
  • teams channel member set
  • teams chat get
  • teams chet message send

needs a bit bigger refactor

  • search externalconnection remove
  • site apppermission add
  • site apppermission set

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions