This video demonstrates how we can use the property bag of the SharePoint site to show/hide a ListView Command Set on the list.
 
The SPFx solution used in this video is available on github - https://github.com/RamPrasadMeenavalli/spfx-extensions
 
 

Enabling An SPFx ListView Command Set On A Specific SharePoint List
Aug 13 2019

Ram Prasad M

This video shows how to show a custom ListView Command Set on a specific SharePoint list or lists by using the web's property bag