I have made some custom command sets that are being displayed in the command bar. I want those commands to be displayed only inside a document set and not anywhere else.
I did follow the official microsoft for building the command set. https://learn.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api